#include <gtk/gtkwindow.h>
#include "modest-ui.h"
-
+#include "modest-tny-attachment.h"
G_BEGIN_DECLS
*
* 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:
*/
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__ */