X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-address-book.h;h=4f55ee00ef509678502c819844c7045d41be201b;hp=75a1a9a2c25472776ed28a16583d92eb8d31b259;hb=1ae76d480a98068ec23fb6fc6d231605302b809f;hpb=32ba35b63ed6986eab57acf8bfd76dba10ee129e diff --git a/src/modest-address-book.h b/src/modest-address-book.h index 75a1a9a..4f55ee0 100644 --- a/src/modest-address-book.h +++ b/src/modest-address-book.h @@ -33,6 +33,7 @@ #define __MODEST_ADDRESS_BOOK_H__ #include +#include /** * modest_address_book_add_address: @@ -47,12 +48,24 @@ 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 + * + * 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); + #endif /* __MODEST_ADDRESS_BOOK_H__ */