2007-06-03 Armin Burgmeier <armin@openismus.com>
[modest] / src / widgets / modest-msg-edit-window.h
index 597cfd7..a1e1a90 100644 (file)
@@ -70,6 +70,9 @@ typedef enum {
        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;
@@ -198,6 +201,24 @@ void                    modest_msg_edit_window_select_background_color
 void                    modest_msg_edit_window_insert_image          (ModestMsgEditWindow *window);
 
 /**
+ * modest_msg_edit_window_attach_file:
+ * @self: a #ModestMsgEditWindow
+ *
+ * show a file selection dialog to attach a file
+ */
+void                    modest_msg_edit_window_attach_file           (ModestMsgEditWindow *window);
+
+/**
+ * modest_msg_edit_window_remove_attachments:
+ * @self: a #ModestMsgEditWindow
+ * @att_list: a #GList of #TnyMimePart
+ *
+ * remove attachments in @att_list, with a confirmation dialog
+ */
+void                    modest_msg_edit_window_remove_attachments    (ModestMsgEditWindow *window, 
+                                                                     GList *att_list);
+
+/**
  * modest_msg_edit_window_show_cc:
  * @window: a #ModestMsgEditWindow
  * @show: a #gboolean