* Add update method to ModestTnyFolderTreeView.
[modest] / src / modest-tny-account-store.h
index f553893..5d723ac 100644 (file)
@@ -24,14 +24,12 @@ typedef struct _ModestTnyAccountStore      ModestTnyAccountStore;
 typedef struct _ModestTnyAccountStoreClass ModestTnyAccountStoreClass;
 
 struct _ModestTnyAccountStore {
-       //TnyAccountStore parent;
        GObject parent;
 };
 
 struct _ModestTnyAccountStoreClass {
-       //TnyAccountStoreClass parent_class;
        GObjectClass parent_class;
-       
+
        void (*password_requested) (ModestTnyAccountStore *self,
                                    const gchar *account_name,
                                    gpointer user_data);
@@ -42,9 +40,7 @@ struct _ModestTnyAccountStoreClass {
 /**
  * modest_tny_account_store_get_type:
  *
- * returns GType of account store ???
- *
- * Returns: ???
+ * Returns: GType of account store
  */
 GType        modest_tny_account_store_get_type    (void) G_GNUC_CONST;
 
@@ -52,13 +48,23 @@ GType        modest_tny_account_store_get_type    (void) G_GNUC_CONST;
  * modest_tny_account_store_new:
  * @modest_acc_mgr: account manager to use for new account store
  *
- * creates new tiny account store for account manager modest_acc_mgr
+ * creates new (tinymail) account store for account manager modest_acc_mgr
  *
  * Returns: GObject of newly created account store
  */
 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
  *