2 * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
4 * Copyright (c) 2000-2003 by Alfons Hoogervorst <alfons@proteus.demon.nl>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 #ifndef __ADDR_COMPL_H__
22 #define __ADDR_COMPL_H__
26 #include "addrindex.h"
28 gint start_address_completion (void);
29 guint complete_address (const gchar *str);
30 gchar *get_complete_address (gint index);
31 gint invalidate_address_completion (void);
32 gint end_address_completion (void);
35 void address_completion_start (GtkWidget *mainwindow);
36 void address_completion_register_entry (GtkEntry *entry);
37 void address_completion_unregister_entry(GtkEntry *entry);
38 void address_completion_end (GtkWidget *mainwindow);
40 void addrcompl_initialize ( AddressIndex *addrIndex );
41 void addrcompl_teardown ( void );
43 #endif /* __ADDR_COMPL_H__ */