* added GTKdoc documentation - maybe wrong, please review!
authorNils Faerber <nils@kernelconcepts.de>
Mon, 15 May 2006 17:51:17 +0000 (17:51 +0000)
committerNils Faerber <nils@kernelconcepts.de>
Mon, 15 May 2006 17:51:17 +0000 (17:51 +0000)
pmo-trunk-r63

src/modest-tny-account-store.c
src/modest-tny-account-store.h

index 3b6ee1e..14c4995 100644 (file)
@@ -187,7 +187,6 @@ modest_tny_account_store_new (ModestAccountMgr *modest_acc_mgr)
        priv = MODEST_TNY_ACCOUNT_STORE_GET_PRIVATE(obj);
        g_object_ref(G_OBJECT(priv->modest_acc_mgr = modest_acc_mgr));
 
-
        priv->tny_session_camel = tny_session_camel_new
                (TNY_ACCOUNT_STORE_IFACE(obj));
        if (!priv->tny_session_camel) {
@@ -539,4 +538,3 @@ modest_tny_account_store_iface_init (gpointer g_iface, gpointer iface_data)
                modest_tny_account_store_get_device;    
 
 }
-
index c7d461e..f553893 100644 (file)
@@ -38,15 +38,34 @@ struct _ModestTnyAccountStoreClass {
 };
 
 /* member functions */
+
+/**
+ * modest_tny_account_store_get_type:
+ *
+ * returns GType of account store ???
+ *
+ * Returns: ???
+ */
 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 tiny 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);
 
-
-
+/**
+ * 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);