X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-tny-account-store.h;h=a92d81e5de9d37145ff5f720953aafa744d326ea;hp=17b29c311637148df7ccf2c49061edf062746ee1;hb=6b5f4ea54c4a36e890b47aa8d8e8f2611376bb91;hpb=702b748360f6de61e0780c36a98065d19a495c83 diff --git a/src/modest-tny-account-store.h b/src/modest-tny-account-store.h index 17b29c3..a92d81e 100644 --- a/src/modest-tny-account-store.h +++ b/src/modest-tny-account-store.h @@ -64,6 +64,9 @@ struct _ModestTnyAccountStoreClass { void (*password_requested) (ModestTnyAccountStore *self, const gchar *account_name, gpointer user_data); + void (*update_accounts) (ModestTnyAccountStore *self, + const gchar *account_name, + gpointer user_data); }; /* member functions */ @@ -85,25 +88,7 @@ GType modest_tny_account_store_get_type (void) G_GNUC_CONST; */ GObject* modest_tny_account_store_new (ModestAccountMgr *modest_acc_mgr); -/** - * modest_tny_account_store_get_account_mgr: - * @self: a TnyAccountStore instance - * - * retrieve the account manager associated with this account store. - * - * Returns: the account manager for @self. - */ -ModestAccountMgr *modest_tny_account_store_get_accout_mgr(ModestTnyAccountStore *self); -/** - * tny_account_store_get_session: - * @self: a TnyAccountStore instance - * - * retrieve current tinymail camel session - * - * Returns: current tinymail camel session - */ -TnySessionCamel* tny_account_store_get_session (TnyAccountStore *self); /** * tny_account_store_set_get_pass_func: @@ -116,6 +101,19 @@ TnySessionCamel* tny_account_store_get_session (TnyAccountStore *self); void modest_tny_account_store_set_get_pass_func (ModestTnyAccountStore *, ModestTnyGetPassFunc); + +/** + * tny_account_store_get_session + * @self: a TnyAccountStore instance + * + * get the tny-camel-session for this account store. Note that this function + * does NOT have the modest_ prefix, as tinymail requires the symbol to be like this... + * + * Returns: a tny-camel-session + */ +TnySessionCamel* tny_account_store_get_session (TnyAccountStore *self); + + G_END_DECLS #endif /* __MODEST_TNY_ACCOUNT_STORE_H__ */