* some changes for modest-ui-account-setup in modest.glade, mostly widget names
[modest] / src / modest-editor-window.h
index 252b8a2..d5c273a 100644 (file)
@@ -8,7 +8,7 @@
 #include <gtk/gtkwindow.h>
 
 #include "modest-ui.h"
-
+#include "modest-tny-attachment.h"
 
 G_BEGIN_DECLS
 
@@ -152,18 +152,18 @@ gboolean modest_editor_window_set_body(ModestEditorWindow *edit_win, const gchar
  *
  * Returns: TRUE on success, FALSE otherwise
  */
-gboolean modest_editor_window_attach_file(ModestEditorWindow *edit_win, const gchar *filename);
+gboolean modest_editor_window_attach_file(ModestEditorWindow *edit_win, ModestTnyAttachment *attachment);
 
 /**
  * modest_editor_window_set_attachments:
  * @edit_win: a ModestEditorWindow instance
  * @attachments: a list of attachments
  *
- * Sets the list of attachments to *attachments
+ * Frees the current attachments, then sets the list of attachments to *attachments
  *
  * Returns: The new GList* of attachments.
  */
-GList * modest_editor_window_set_attachments(ModestEditorWindow *edit_win, GList* attachments);
+GList * modest_editor_window_set_attachments(ModestEditorWindow *edit_win, const GList* attachments);
 
 /**
  * modest_editor_window_get_attachments:
@@ -175,6 +175,11 @@ GList * modest_editor_window_set_attachments(ModestEditorWindow *edit_win, GList
  */
 GList * modest_editor_window_get_attachments(ModestEditorWindow *edit_win);
 
+void modest_editor_window_set_identity(ModestEditorWindow *edit_win, const gchar *identity);
+const gchar * modest_editor_window_get_identity(ModestEditorWindow *edit_win);
+
+void modest_editor_window_set_transport(ModestEditorWindow *edit_win, const gchar *transport);
+const gchar * modest_editor_window_get_transport(ModestEditorWindow *edit_win);
 G_END_DECLS
 
 #endif /* __MODEST_EDITOR_WINDOW_H__ */