2007-07-31 Philip Van Hoof <pvanhoof@gnome.org>
[modest] / src / modest-account-mgr.h
index b992f82..f93a712 100644 (file)
@@ -56,20 +56,24 @@ struct _ModestAccountMgr {
 struct _ModestAccountMgrClass {
        GObjectClass parent_class;
 
+       void (* account_inserted)  (ModestAccountMgr *obj, 
+                                   const gchar* account,
+                                   gpointer user_data);
+
        void (* account_removed)   (ModestAccountMgr *obj, 
                                    const gchar* account,
-                                   gboolean server_account,
                                    gpointer user_data);
+
        void (* account_changed)   (ModestAccountMgr *obj, 
                                    const gchar* account,
                                    const GSList* key, 
                                    gboolean server_account,
                                    gpointer user_data);
-               void (* account_busy_changed)   (ModestAccountMgr *obj, 
-                                   const gchar* account,
-                                   gboolean busy,
-                                   gpointer user_data);
-       
+
+       void (* account_busy_changed)   (ModestAccountMgr *obj, 
+                                        const gchar* account,
+                                        gboolean busy,
+                                        gpointer user_data);   
 };
 
 /**
@@ -159,7 +163,6 @@ gboolean modest_account_mgr_add_server_account_uri    (ModestAccountMgr *self,
  * modest_account_mgr_remove_account:
  * @self: a ModestAccountMgr instance
  * @name: the name of the account to remove
- * @server_account: TRUE if the account to remove is a server account
  * @err: a #GError ptr, or NULL to ignore.
  * 
  * remove an existing account. the account with @name should already exist; note
@@ -170,9 +173,7 @@ gboolean modest_account_mgr_add_server_account_uri    (ModestAccountMgr *self,
  * @err gives details in case of error
  */
 gboolean        modest_account_mgr_remove_account         (ModestAccountMgr *self,
-                                                          const gchar* name,
-                                                          gboolean server_account);
-
+                                                          const gchar* name);
 
 /**
  * modest_account_mgr_account_names: