X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-tny-platform-factory.h;h=6932503343304460a4665ec6d5944b308c5b3a12;hp=a9fa02b09a844382950b51a528e822315192c526;hb=b47c94d3ff2333298a24baa1bcdd1829f45d4e64;hpb=fd61a8ce03698d13f0a4af5fe2133e49c9ddb53d diff --git a/src/modest-tny-platform-factory.h b/src/modest-tny-platform-factory.h index a9fa02b..6932503 100644 --- a/src/modest-tny-platform-factory.h +++ b/src/modest-tny-platform-factory.h @@ -33,11 +33,7 @@ #define __MODEST_TNY_PLATFORM_FACTORY_H__ #include - #include -#include "modest-account-mgr.h" -#include "modest-conf.h" -#include "modest-mail-operation-queue.h" G_BEGIN_DECLS @@ -60,7 +56,14 @@ struct _ModestTnyPlatformFactoryClass { GObjectClass parent_class; }; -/* member functions */ + +/** + * modest_tny_platform_factory_get_type: + * + * get the GType for #ModestTnyPlatformFactory + * + * Returns: the GType for #ModestTnyPlatformFactory + */ GType modest_tny_platform_factory_get_type (void) G_GNUC_CONST; /** @@ -74,43 +77,6 @@ GType modest_tny_platform_factory_get_type (void) G_GNUC_CONST; **/ TnyPlatformFactory* modest_tny_platform_factory_get_instance (void); -/** - * modest_tny_platform_factory_get_account_mgr_instance: - * @fact: the #TnyPlatformFactory that holds the #ModestAccountMgr instance - * - * Gets a new instance of a #ModestAccountMgr if it is the first call - * to the function, or the current instantiated one otherwise. This - * object is supposed to be a singleton - * - * Returns: an instance of a #ModestAccountMgr - **/ -ModestAccountMgr* modest_tny_platform_factory_get_account_mgr_instance (ModestTnyPlatformFactory *fact); - -/** - * modest_tny_platform_factory_get_conf_instance: - * @fact: the #TnyPlatformFactory that holds the #ModestConf instance - * - * Gets a new instance of a #ModestConf if it is the first call to the - * function, or the current instantiated one otherwise. This object is - * supposed to be a singleton - * - * Returns: an instance of a #ModestConf - **/ -ModestConf* modest_tny_platform_factory_get_conf_instance (ModestTnyPlatformFactory *fact); - -/** - * modest_tny_platform_factory_get_mail_operation_queue_instance: - * @fact: the #TnyPlatformFactory that holds the #ModestMailOperationQueue instance - * - * Gets a new instance of a #ModestMailOperationQueue if it is the - * first call to the function, or the current instantiated one - * otherwise. This object is supposed to be a singleton - * - * Returns: an instance of a #ModestMailOperationQueue - **/ -ModestMailOperationQueue* modest_tny_platform_factory_get_mail_operation_queue_instance (ModestTnyPlatformFactory *fact); - - G_END_DECLS #endif /* __MODEST_TNY_PLATFORM_FACTORY_H__ */