X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-singletons.h;h=2e5d1fa3acb5268d1e58ae083d17fb046a8d5c6b;hb=b91f5d417772ff0ae30acb9b955ad90ad89e1699;hp=b6f0448b012677cbe6a305559ea7db3cae4d431d;hpb=27eb32137472bfe15e7126baafe581f097817413;p=modest diff --git a/src/modest-singletons.h b/src/modest-singletons.h index b6f0448..2e5d1fa 100644 --- a/src/modest-singletons.h +++ b/src/modest-singletons.h @@ -39,6 +39,7 @@ #include #include #include +#include "widgets/modest-window-mgr.h" G_BEGIN_DECLS @@ -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