X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-ui-actions.h;h=dce58d258a418aa782ceff41caebac6b5725d784;hb=65406f6e4e09003635d1e8fba20545f704a8c353;hp=7206eab58f1211294357bcb7317963a2e30df99f;hpb=8e43419e3de0dc6b9afde4f309c3fe25b1e12286;p=modest diff --git a/src/modest-ui-actions.h b/src/modest-ui-actions.h index 7206eab..dce58d2 100644 --- a/src/modest-ui-actions.h +++ b/src/modest-ui-actions.h @@ -487,5 +487,23 @@ void modest_ui_actions_on_send_queue_status_changed (ModestTnySendQueue *send_qu guint status, gpointer user_data); +/** + * Opens a new message editor for composing + * @param win Modest main window (can be NULL) + * @param to_str "To:" header, or NULL + * @param cc_str "Cc:" header, or NULL + * @param bcc_str "Bcc:" header, or NULL + * @param subject_str Subject of the message, or NULL + * @param body_str Body of the message (without signature), or NULL + * @param attachments List of file URIs to attach + */ +void modest_ui_actions_compose_msg(ModestWindow *win, + const gchar *to_str, + const gchar *cc_str, + const gchar *bcc_str, + const gchar *subject_str, + const gchar *body_str, + GSList *attachments); + G_END_DECLS #endif /* __MODEST_UI_ACTIONS_H__ */