Do ignore empty recipients when checking names
[modest] / src / modest-account-mgr.h
index 56bfb8f..679c97d 100644 (file)
@@ -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.
@@ -361,6 +373,8 @@ void  modest_account_mgr_set_display_name (ModestAccountMgr *self,
 gboolean modest_account_mgr_singleton_protocol_exists (ModestAccountMgr *mgr,
                                                       ModestProtocolType protocol_type);
 
+gchar * modest_account_mgr_get_string (ModestAccountMgr *self, const gchar *name,
+                                      const gchar *key, gboolean server_account);
 G_END_DECLS
 
 #endif /* __MODEST_ACCOUNT_MGR_H__ */