2007-01-18 [wwp] 2.7.1cvs26
[claws.git] / src / addressbook.h
index 23c888df582e0cc42651e87d098ff6a9d2bde15c..4f9b274e34b8f4dad14a981b78f9e562db90d300 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2006 Hiroyuki Yamamoto and the Sylpheed-Claws team
+ * Copyright (C) 1999-2007 Hiroyuki Yamamoto and the Claws Mail team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -25,6 +25,7 @@
 
 #include "compose.h"
 #include "addritem.h"
+#include "addrindex.h"
 
 void addressbook_open                  ( Compose *target );
 void addressbook_set_target_compose    ( Compose *target );
@@ -39,6 +40,11 @@ gboolean addressbook_add_contact     ( const gchar *name,
                                          const gchar *address,
                                          const gchar *remarks );
                                          
+gboolean addressbook_folder_selection( gchar **folderpath );
+gboolean addressbook_peek_folder_exists( gchar *folderpath,
+                                                                                AddressDataSource **book,
+                                                                                ItemFolder **folder );
+
 gboolean addressbook_load_completion   (gint (*callBackFunc) 
                                               (const gchar *, 
                                                const gchar *, 
@@ -52,6 +58,11 @@ void addressbook_harvest             ( FolderItem *folderItem,
                                          GList *msgList);
 
 void addressbook_read_all              ( void );
+void addressbook_new_address_from_book_post_cb( ItemPerson *person );
+void addressbook_new_address_from_folder_post_cb( ItemPerson *person );
+void addressbook_edit_address_post_cb( ItemPerson *person );
+void addressbook_address_list_set_focus( void );
+void addressbook_address_list_disable_some_actions( void );
 
 #endif /* __ADDRESSBOOK_H__ */