X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-runtime.h;h=304739da28de550e916aad0d3d55c64091a52b19;hb=c44713650dd282b22438402073abbe46284fc01d;hp=6d5f8214439eb2b3cd3366585e601889a0d9d914;hpb=9a8935f8511b016430e8a96ed50f87558a304b99;p=modest diff --git a/src/modest-runtime.h b/src/modest-runtime.h index 6d5f821..304739d 100644 --- a/src/modest-runtime.h +++ b/src/modest-runtime.h @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include @@ -67,18 +68,6 @@ gboolean modest_runtime_init (void); /** - * modest_runtime_init_ui: - * @argc: the #argc argument to the main function - * @argv: the #argv argument to the main function - * - * initialize the modest UI; this replaces the call to - * gtk_init - * - * TRUE if this succeeded, FALSE otherwise. - */ -gboolean modest_runtime_init_ui (gint argc, gchar** argv); - -/** * modest_runtime_uinit: * * uninitialize the modest runtime system; free all the @@ -87,7 +76,6 @@ gboolean modest_runtime_init_ui (gint argc, gchar** argv); * TRUE if this succeeded, FALSE otherwise */ gboolean modest_runtime_uninit (void); - /** @@ -132,6 +120,15 @@ ModestConf* modest_runtime_get_conf (void); ModestAccountMgr* modest_runtime_get_account_mgr (void); /** + * modest_runtime_get_email_clipboard: + * + * get the #ModestEmailClipboard singleton instance + * + * Returns: the #ModestEamilClipboard singleton. This should NOT be unref'd. + **/ +ModestEmailClipboard* modest_runtime_get_email_clipboard (void); + +/** * modest_runtime_get_account_store: * * get the ModestTnyAccountStore singleton instance @@ -195,6 +192,13 @@ ModestMailOperationQueue* modest_runtime_get_mail_operation_queue (void); **/ ModestTnySendQueue* modest_runtime_get_send_queue (TnyTransportAccount *account); +/** + * modest_runtime_remove_all_send_queues: + * + * Removes all send queues, ready for them to be recreated, for instance + * with a new connection. + **/ +void modest_runtime_remove_all_send_queues (); /** * modest_runtime_get_window_mgr: