X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-tny-platform-factory.h;h=6932503343304460a4665ec6d5944b308c5b3a12;hp=6fbe55362b4a94bd6bb536527218881d3bb9a529;hb=882063a897449f5c8a9e26bf771ec9da440bd8dd;hpb=44167847c9153e99288b834efe5f7908ab5cc553 diff --git a/src/modest-tny-platform-factory.h b/src/modest-tny-platform-factory.h index 6fbe553..6932503 100644 --- a/src/modest-tny-platform-factory.h +++ b/src/modest-tny-platform-factory.h @@ -33,12 +33,7 @@ #define __MODEST_TNY_PLATFORM_FACTORY_H__ #include - #include -#include -#include -#include -#include G_BEGIN_DECLS @@ -61,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; /** @@ -75,58 +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); - - -/** - * modest_tny_platform_factory_get_cache_mgr_instance: - * @fact: the #TnyPlatformFactory that holds the #ModestCacheMgr instance - * - * Gets a new instance of a #ModestCacheMgr 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 #ModestCacheMgr. - **/ -ModestCacheMgr* modest_tny_platform_factory_get_cache_mgr_instance (ModestTnyPlatformFactory *fact); - - - - G_END_DECLS #endif /* __MODEST_TNY_PLATFORM_FACTORY_H__ */