* Add update method to ModestTnyFolderTreeView.
[modest] / src / modest-tny-account-store.h
index c7d461e..5d723ac 100644 (file)
@@ -24,29 +24,54 @@ 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);
 };
 
 /* member functions */
+
+/**
+ * modest_tny_account_store_get_type:
+ *
+ * Returns: GType of account store
+ */
 GType        modest_tny_account_store_get_type    (void) G_GNUC_CONST;
 
-/* typical parameter-less _new function */
-/* if this is a kind of GtkWidget, it should probably return at GtkWidget*, */
-/*    otherwise probably a GObject*. */
+/**
+ * modest_tny_account_store_new:
+ * @modest_acc_mgr: account manager to use for new account store
+ *
+ * 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
+ *
+ * retrieve current tinymail camel session
+ *
+ * Returns: current tinymail camel session
+ */
 TnySessionCamel* tny_account_store_get_session (TnyAccountStore *self);