* check for a valid foldername
[modest] / src / modest-address-book.h
index 75a1a9a..023b7b0 100644 (file)
@@ -33,6 +33,7 @@
 #define __MODEST_ADDRESS_BOOK_H__
 
 #include <glib.h>
+#include <widgets/modest-recpt-editor.h>
 
 /**
  * modest_address_book_add_address:
@@ -47,12 +48,25 @@ modest_address_book_add_address (const gchar *address);
  * modest_address_book_select_addresses:
  * 
  * Shows a dialog to select some addresses from the 
- * address book.
+ * address book. It adds them to the recipient editor
  *
- * Returns: a string with the addresses
  */
-gchar *
-modest_address_book_select_addresses (void);
+void
+modest_address_book_select_addresses (ModestRecptEditor *editor);
+
+/**
+ * modest_address_book_check_names:
+ * @editor: a #ModestRecptEditor
+ * @update_addressbook: if TRUE, add valid addresses to the addressbook, recent list
+ * 
+ * Performs verification of addresses in a recipient editor.
+ *
+ * Returns: %TRUE if all recipients are valid or there are
+ * no recipients, %FALSE otherwise.
+ */
+gboolean
+modest_address_book_check_names (ModestRecptEditor *editor, gboolean update_addressbook);
+
 
 
 #endif /* __MODEST_ADDRESS_BOOK_H__ */