X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-account-mgr.h;h=81698a90d2f49501dc654304b37130fde7b1a02f;hb=a89eb5f92ef6a7fed000d6c370938317c084f241;hp=f7b21efa23a93d0d6e10ed72707faaff50d0843b;hpb=627c4af6ac85444cc3256fa568baf4a8d62178ae;p=modest diff --git a/src/modest-account-mgr.h b/src/modest-account-mgr.h index f7b21ef..81698a9 100644 --- a/src/modest-account-mgr.h +++ b/src/modest-account-mgr.h @@ -201,6 +201,18 @@ gboolean modest_account_mgr_remove_account (ModestAccountMgr *sel const gchar* name); /** + * modest_account_mgr_remove_account: + * @self: a ModestAccountMgr instance + * @name: the name of the server account to remove + * + * remove an existing server account. This is only for internal use. + * + * Returns: TRUE if the operation succeeded, FALSE otherwise, + */ +gboolean modest_account_mgr_remove_server_account (ModestAccountMgr *self, + const gchar* name); + +/** * modest_account_mgr_account_names: * @self: a ModestAccountMgr instance * @only_enabled: Whether only enabled accounts should be returned. @@ -358,6 +370,8 @@ void modest_account_mgr_set_display_name (ModestAccountMgr *self, const gchar *account_name, const gchar *display_name); +gboolean modest_account_mgr_singleton_protocol_exists (ModestAccountMgr *mgr, + ModestProtocolType protocol_type); G_END_DECLS