X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-runtime.h;h=c2177d8afa45e797e4e0fd50b1261fb7201d4da1;hb=5e34f43275c95837f6ff854b8c8b90aecdbc535f;hp=5726a3d7768b448673fe577d6f1185fb40e1d339;hpb=2b6c4fa7f90c2e9e24627eba531e3f03f7a6391f;p=modest diff --git a/src/modest-runtime.h b/src/modest-runtime.h index 5726a3d..c2177d8 100644 --- a/src/modest-runtime.h +++ b/src/modest-runtime.h @@ -42,6 +42,9 @@ #include #include #include "widgets/modest-window-mgr.h" +#include +#include +#include G_BEGIN_DECLS @@ -122,6 +125,15 @@ ModestConf* modest_runtime_get_conf (void); ModestAccountMgr* modest_runtime_get_account_mgr (void); /** + * modest_runtime_get_images_cache: + * + * get the images #TnyStreamCache singleton instance + * + * Returns: the images #TnyStreamCache singleton. This should NOT be unref'd. + **/ +TnyStreamCache* modest_runtime_get_images_cache (void); + +/** * modest_runtime_get_email_clipboard: * * get the #ModestEmailClipboard singleton instance @@ -221,6 +233,24 @@ void modest_runtime_remove_all_send_queues (); **/ ModestWindowMgr* modest_runtime_get_window_mgr (void); +/** + * modest_runtime_get_protocol_registry: + * + * get the #ModestProtocolRegistry singleton instance + * + * Returns: the #ModestProtocolRegistry singleton. This should NOT be unref'd. + **/ +ModestProtocolRegistry* modest_runtime_get_protocol_registry (void); + +/** + * modest_runtime_get_plugin_factory: + * + * get the #ModestPluginFactory singleton instance + * + * Returns: the #ModestPluginFactory singleton. This should NOT be unref'd. + **/ +ModestPluginFactory * modest_runtime_get_plugin_factory (void); + G_END_DECLS