#include <glib-object.h>
#include <modest-conf.h>
+#include <modest-email-clipboard.h>
#include <modest-account-mgr.h>
-#include <modest-tny-account-store.h>
#include <modest-mail-operation-queue.h>
#include <modest-cache-mgr.h>
#include <modest-tny-platform-factory.h>
+#include <widgets/modest-toolkit-factory.h>
+#include "modest-plugin-factory.h"
#include "widgets/modest-window-mgr.h"
+#include "modest-protocol-registry.h"
+#include <tny-stream-cache.h>
G_BEGIN_DECLS
**/
ModestAccountMgr* modest_singletons_get_account_mgr (ModestSingletons *self);
-
/**
- * modest_singletons_get_account_store:
+ * modest_singletons_get_account_mgr:
* @self: a valid #ModestSingletons instance
*
- * get the #ModestTnyAccountStore singleton instance
+ * get the #ModestEamilClipboard singleton instance
* don't use this function directly, use the modest-runtime
* functions instead.
- *
- * Returns: the #ModestTnyAccountStore singleton
+ *
+ * Returns: the #ModestEmailClipboard singleton
**/
-ModestTnyAccountStore* modest_singletons_get_account_store (ModestSingletons *self);
+ModestEmailClipboard* modest_singletons_get_email_clipboard (ModestSingletons *self);
+
/**
* modest_singletons_get_cache_mgr:
**/
TnyPlatformFactory* modest_singletons_get_platform_factory (ModestSingletons *self);
+/**
+ * modest_singletons_get_toolkit_factory:
+ * @self: a valid #ModestSingletons instance
+ *
+ * get the #TnyToolkitFactory singleton instance
+ * don't use this function directly, use the modest-runtime
+ * functions instead.
+ *
+ * Returns: the #ModestToolkitFactory singleton
+ **/
+ModestToolkitFactory* modest_singletons_get_toolkit_factory (ModestSingletons *self);
+
/**
* modest_singletons_get_device:
**/
ModestWindowMgr* modest_singletons_get_window_mgr (ModestSingletons *self);
+/**
+ * modest_singletons_get_protocol_registry:
+ * @self:
+ *
+ * Gets the #ModestProtocolRegistry singleton instance. Don't use this
+ * function directly, use the modest-runtime function instead.
+ *
+ * Return value: the singleton instance of #ModestProtocolRegistry
+ **/
+ModestProtocolRegistry* modest_singletons_get_protocol_registry (ModestSingletons *self);
+
+/**
+ * modest_singletons_get_images_cache:
+ * @self: a #ModestSingletons
+ *
+ * Gets the #TnyStreamCache used to store the external images cache.
+ */
+TnyStreamCache* modest_singletons_get_images_cache (ModestSingletons *self);
+
+/**
+ * modest_singletons_get_plugin_factory:
+ * @self: a #ModestSingletons
+ *
+ * Gets the #ModestMailPluginFactory singleton.
+ */
+ModestPluginFactory* modest_singletons_get_plugin_factory (ModestSingletons *self);
+
G_END_DECLS
#endif /* __MODEST_SINGLETONS_H__ */