#define __MODEST_ADDRESS_BOOK_H__
#include <glib.h>
+#include <widgets/modest-recpt-editor.h>
/**
* modest_address_book_add_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__ */