#include <modest-tny-account-store.h>
#include <modest-mail-operation-queue.h>
#include <modest-cache-mgr.h>
-#include <modest-widget-factory.h>
-
+#include <modest-tny-platform-factory.h>
+#include "widgets/modest-window-mgr.h"
G_BEGIN_DECLS
**/
ModestTnyAccountStore* modest_singletons_get_account_store (ModestSingletons *self);
+/**
+ * modest_singletons_get_cache_mgr:
+ * @self: a valid #ModestSingletons instance
+ *
+ * get the #ModestCacheMgr singleton instance
+ * don't use this function directly, use the modest-runtime
+ * functions instead.
+ *
+ * Returns: the #ModestCacheMgr singleton
+ **/
+ModestCacheMgr* modest_singletons_get_cache_mgr (ModestSingletons *self);
+
+
/**
- * modest_singletons_get_widget_factory:
+ * modest_singletons_get_platform_factory:
* @self: a valid #ModestSingletons instance
*
- * get the #ModestWidgetFactory singleton instance
+ * get the #TnyPlatformFactory singleton instance
* don't use this function directly, use the modest-runtime
* functions instead.
*
- * Returns: the #ModestWidgetFactory singleton
+ * Returns: the #TnyPlatformFactory singleton
**/
-ModestWidgetFactory* modest_singletons_get_widget_factory (ModestSingletons *self);
+TnyPlatformFactory* modest_singletons_get_platform_factory (ModestSingletons *self);
+
/**
- * modest_singletons_get_cache_mgr:
+ * modest_singletons_get_device:
* @self: a valid #ModestSingletons instance
*
- * get the #ModestCacheMgr singleton instance
+ * get the #TnyDevice singleton instance
* don't use this function directly, use the modest-runtime
* functions instead.
*
- * Returns: the #ModestCacheMgr singleton
+ * Returns: the #TnyDevice singleton
**/
-ModestCacheMgr* modest_singletons_get_cache_mgr (ModestSingletons *self);
+TnyDevice* modest_singletons_get_device (ModestSingletons *self);
/**
**/
ModestMailOperationQueue* modest_singletons_get_mail_operation_queue (ModestSingletons *self);
+/**
+ * modest_singletons_get_window_mgr:
+ * @self:
+ *
+ * Gets the #ModestWindowMgr singleton instance. Don't use this
+ * function directly, use the modest-runtime function instead.
+ *
+ * Return value: the singleton instance of #ModestWindowMgr
+ **/
+ModestWindowMgr* modest_singletons_get_window_mgr (ModestSingletons *self);
+
G_END_DECLS
#endif /* __MODEST_SINGLETONS_H__ */