#define __MODEST_TNY_PLATFORM_FACTORY_H__
#include <glib-object.h>
-/* other include files */
#include <tny-platform-factory.h>
-#include "modest-account-mgr.h"
-#include "modest-conf.h"
G_BEGIN_DECLS
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:
+ *
+ * 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
+ * supposed to be a singleton
+ *
+ * Returns: the instance of a #ModestTnyPlatformFactory
+ **/
TnyPlatformFactory* modest_tny_platform_factory_get_instance (void);
-ModestAccountMgr* modest_tny_platform_factory_get_modest_account_mgr_instance (TnyPlatformFactory *fact);
-ModestConf* modest_tny_platform_factory_get_modest_conf_instance (TnyPlatformFactory *fact);
-
-
G_END_DECLS
#endif /* __MODEST_TNY_PLATFORM_FACTORY_H__ */