X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-account-mgr-helpers.h;h=f10d8739362bafa4081b0cc7338c4670fa361ea4;hp=be552b5eefea50789e19d38f29986b308685023d;hb=ba4f63e1dede973582a3fa6add4cc390925ffea3;hpb=627c4af6ac85444cc3256fa568baf4a8d62178ae diff --git a/src/modest-account-mgr-helpers.h b/src/modest-account-mgr-helpers.h index be552b5..f10d873 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); /**