MODEST_MSG_EDIT_FORMAT_HTML
} ModestMsgEditFormat;
+/** Get these with modest_msg_edit_window_get_msg_data()
+ * and free them with modest_msg_edit_window_free_msg_data().
+ */
typedef struct {
gchar *from, *to, *cc, *bcc, *subject, *plain_body, *html_body;
GList *attachments;
TnyHeaderFlags priority_flags;
+ TnyMsg *draft_msg;
+ gchar *account_name;
} MsgData;
typedef struct {
void modest_msg_edit_window_attach_file (ModestMsgEditWindow *window);
/**
+ * modest_msg_edit_window_attach_file_noninteractive:
+ * @self: a #ModestMsgEditWindow
+ *
+ * attach a file to a MsgEditWindow non interactively,
+ * without file dialog. This is needed by dbus callbacks.
+ */
+void modest_msg_edit_window_attach_file_noninteractive (ModestMsgEditWindow *window, gchar *filename);
+
+/**
* modest_msg_edit_window_remove_attachments:
* @self: a #ModestMsgEditWindow
* @att_list: a #GList of #TnyMimePart
G_END_DECLS
#endif /* __MODEST_MSG_EDIT_WINDOW_H__ */
-