X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-singletons.h;h=76f95322dafd9e4924842cb97378a1b99018afb9;hp=a54b0b03405e8ba3ee55400236f60612ddcfe587;hb=HEAD;hpb=627c4af6ac85444cc3256fa568baf4a8d62178ae diff --git a/src/modest-singletons.h b/src/modest-singletons.h index a54b0b0..76f95322 100644 --- a/src/modest-singletons.h +++ b/src/modest-singletons.h @@ -39,14 +39,11 @@ #include #include #include +#include #include "modest-plugin-factory.h" #include "widgets/modest-window-mgr.h" -<<<<<<< .working -#include -======= #include "modest-protocol-registry.h" #include ->>>>>>> .merge-right.r5668 G_BEGIN_DECLS @@ -157,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: @@ -194,16 +203,6 @@ ModestMailOperationQueue* modest_singletons_get_mail_operation_queue (ModestSing **/ ModestWindowMgr* modest_singletons_get_window_mgr (ModestSingletons *self); -<<<<<<< .working -/** - * 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_protocol_registry: * @self: @@ -231,7 +230,6 @@ TnyStreamCache* modest_singletons_get_images_cache (ModestSing */ ModestPluginFactory* modest_singletons_get_plugin_factory (ModestSingletons *self); ->>>>>>> .merge-right.r5668 G_END_DECLS #endif /* __MODEST_SINGLETONS_H__ */