* check for a valid foldername
[modest] / src / modest-tny-platform-factory.h
index 053b821..6932503 100644 (file)
 #define __MODEST_TNY_PLATFORM_FACTORY_H__
 
 #include <glib-object.h>
-
 #include <tny-platform-factory.h>
-#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,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__ */