X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-singletons.h;h=bc3c8a931056fff33161f9df7acffdb29c4c5122;hp=b6f0448b012677cbe6a305559ea7db3cae4d431d;hb=eeab1fed238484308335d400bcc7c531a48571ed;hpb=27eb32137472bfe15e7126baafe581f097817413 diff --git a/src/modest-singletons.h b/src/modest-singletons.h index b6f0448..bc3c8a9 100644 --- a/src/modest-singletons.h +++ b/src/modest-singletons.h @@ -34,11 +34,12 @@ #include #include +#include #include -#include #include #include #include +#include "widgets/modest-window-mgr.h" G_BEGIN_DECLS @@ -110,18 +111,18 @@ ModestConf* modest_singletons_get_conf (ModestSingletons **/ 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: @@ -175,7 +176,16 @@ TnyDevice* modest_singletons_get_device (ModestSingletons **/ 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