X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-account-mgr-helpers.h;h=43a44945ddd9137590e13453d0c68cbc32f30892;hp=be552b5eefea50789e19d38f29986b308685023d;hb=2e629db997bbb18f04f12ba67315c552b8dfc65e;hpb=627c4af6ac85444cc3256fa568baf4a8d62178ae diff --git a/src/modest-account-mgr-helpers.h b/src/modest-account-mgr-helpers.h index be552b5..43a4494 100644 --- a/src/modest-account-mgr-helpers.h +++ b/src/modest-account-mgr-helpers.h @@ -125,6 +125,19 @@ gboolean modest_account_mgr_set_signature (ModestAccountMgr *self, const gchar* */ gchar* modest_account_mgr_get_signature (ModestAccountMgr *self, const gchar* name, gboolean* use_signature); + +gchar *modest_account_mgr_get_signature_from_recipient (ModestAccountMgr *self, const gchar *recipient, + gboolean *use_signature); + +void modest_account_mgr_get_branding_from_recipient (ModestAccountMgr *mgr, + const gchar *current_recipient, + gchar **service_name, + const GdkPixbuf **service_icon, + guint64 icon_size); + +gboolean modest_account_mgr_account_is_multimailbox (ModestAccountMgr *mgr, + const gchar *account_name, + ModestProtocol **mmb_protocol); /** * modest_account_mgr_get_store_protocol: @@ -358,12 +371,13 @@ ModestServerAccountSettings *modest_account_mgr_load_server_settings (ModestAcco * modest_account_mgr_get_from_string * @self: a #ModestAccountMgr instance * @name: the account name + * @mailbox: the mailbox * * get the From: string for some account; ie. "Foo Bar" <foo.bar@cuux.yy>" * * Returns: the newly allocated from-string, or NULL in case of error */ -gchar * modest_account_mgr_get_from_string (ModestAccountMgr *self, const gchar* name); +gchar * modest_account_mgr_get_from_string (ModestAccountMgr *self, const gchar* name, const gchar *mailbox); /** @@ -412,6 +426,13 @@ void modest_account_mgr_set_last_updated (ModestAccountMgr *self, const gchar* account_name, gint time); +gboolean modest_account_mgr_get_has_new_mails (ModestAccountMgr *self, + const gchar* account_name); + +void modest_account_mgr_set_has_new_mails (ModestAccountMgr *self, + const gchar* account_name, + gboolean has_new_mails); + gint modest_account_mgr_get_retrieve_limit (ModestAccountMgr *self, const gchar* account_name);