X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-tny-platform-factory.h;h=6932503343304460a4665ec6d5944b308c5b3a12;hp=3686cfb7184cdb2df1a679aabf200c08b12125db;hb=12a672c559d983c4e49a7e4054ee14c0177ecb1c;hpb=b43518714ee9ac0b6fdd0ab7d08f2c1de67846f5 diff --git a/src/modest-tny-platform-factory.h b/src/modest-tny-platform-factory.h index 3686cfb..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,12 +56,18 @@ 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; /** * modest_tny_platform_factory_get_instance: - * @void: * * Gets a new instance of the platform factory if it is the first call * to the function, or the current one otherwise. This object is @@ -75,42 +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_modest_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_modest_account_mgr_instance (TnyPlatformFactory *fact); - -/** - * modest_tny_platform_factory_get_modest_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_modest_conf_instance (TnyPlatformFactory *fact); - -/** - * modest_tny_platform_factory_get_modest_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_modest_mail_operation_queue_instance (TnyPlatformFactory *fact); - G_END_DECLS #endif /* __MODEST_TNY_PLATFORM_FACTORY_H__ */