X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-plugin-ui-actions.h;fp=src%2Fmodest-plugin-ui-actions.h;h=e73365c82ab822b42b5f772d47f472c256efeb42;hp=1f8f457bc3b722e986dc96d2491beea4e5cd1f94;hb=eb4268a6f0c7b194ef988497a4c3d769a2505f69;hpb=f1919bce12cf5cd8fc4f3b0157d847f53e07499b diff --git a/src/modest-plugin-ui-actions.h b/src/modest-plugin-ui-actions.h index 1f8f457..e73365c 100644 --- a/src/modest-plugin-ui-actions.h +++ b/src/modest-plugin-ui-actions.h @@ -79,6 +79,19 @@ modest_ui_actions_on_reload_message (const gchar *msg_id); void modest_ui_actions_reply_calendar (ModestWindow *win, TnyList *header_pairs); +/** + * modest_ui_actions_on_send_msg: + * @window: parent window requesting to send the message + * @msg: a #TnyMsg + * + * This method will send @msg without showing the message editor. + * + * Returns: %TRUE if succesful, %FALSE otherwise + */ +gboolean +modest_ui_actions_on_send_msg (ModestWindow *window, + TnyMsg *msg); + G_END_DECLS #endif /* __MODEST_PLUGIN_UI_ACTIONS_H__ */