X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-account-mgr.h;h=f93a71221d247f909fbdc485bb737f58a1822abd;hp=6510cf33563a3775cad41a83a91e6fc8c7863f71;hb=362784ce756b3f0e31cd451d9ac5e69b909d4053;hpb=1d40b380b95b4dd4c14f593683caaa97c897623a diff --git a/src/modest-account-mgr.h b/src/modest-account-mgr.h index 6510cf3..f93a712 100644 --- a/src/modest-account-mgr.h +++ b/src/modest-account-mgr.h @@ -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); - + 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: