#include <tny-account-store.h>
#include <tny-session-camel.h>
#include <tny-shared.h>
+#include <modest-account-mgr.h>
/* other include files */
struct _ModestTnyAccountStoreClass {
GObjectClass parent_class;
- gchar* (*password_requested) (ModestTnyAccountStore *self,
- const gchar *account_name,
- gpointer user_data);
- void (*update_accounts) (ModestTnyAccountStore *self,
+ void (*password_requested) (ModestTnyAccountStore *self,
const gchar *account_name,
+ gchar **password,
+ gboolean *cancel,
gpointer user_data);
+ void (*account_update) (ModestTnyAccountStore *self,
+ const gchar *account_name,
+ gpointer user_data);
};
/* member functions */
*
* Returns: newly created account store or NULL in case of error
*/
-ModestTnyAccountStore* modest_tny_account_store_new (ModestAccountMgr *modest_acc_mgr);
+ModestTnyAccountStore* modest_tny_account_store_new (ModestAccountMgr *account_mgr);
/**