X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-runtime.h;h=c2177d8afa45e797e4e0fd50b1261fb7201d4da1;hp=abd4cbf07097fcc89a462d7af433fdd784c8a68f;hb=e45958deaf9701399c552ea0d84c2447efacd4ca;hpb=85dbfb5b2586e248ed9cef94d0e43f8e24865caf diff --git a/src/modest-runtime.h b/src/modest-runtime.h index abd4cbf..c2177d8 100644 --- a/src/modest-runtime.h +++ b/src/modest-runtime.h @@ -42,7 +42,9 @@ #include #include #include "widgets/modest-window-mgr.h" +#include #include +#include G_BEGIN_DECLS @@ -231,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