X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-singletons.h;h=76f95322dafd9e4924842cb97378a1b99018afb9;hb=25d9023d8b4d16043be9243367046bca35442d29;hp=d2669ef1186194a9fb22d444b0573fbed458061d;hpb=79acfb0d9e8e1ade6eedcc636cba74f7e9cfd939;p=modest diff --git a/src/modest-singletons.h b/src/modest-singletons.h index d2669ef..76f95322 100644 --- a/src/modest-singletons.h +++ b/src/modest-singletons.h @@ -39,6 +39,7 @@ #include #include #include +#include #include "modest-plugin-factory.h" #include "widgets/modest-window-mgr.h" #include "modest-protocol-registry.h" @@ -153,6 +154,18 @@ ModestCacheMgr* modest_singletons_get_cache_mgr (ModestSingletons **/ 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: