X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-editor-window.h;h=d5c273a4da30d7519851dbc8fa37e6a9d4a8367d;hb=5b2f29d9ca116e550ef1900f3883a488aeee28e9;hp=252b8a22a1f4aeaaad0a75e26a7ca203f770d59e;hpb=ffe54f8d774671aff5f81b23aa38ac086ba99492;p=modest diff --git a/src/modest-editor-window.h b/src/modest-editor-window.h index 252b8a2..d5c273a 100644 --- a/src/modest-editor-window.h +++ b/src/modest-editor-window.h @@ -8,7 +8,7 @@ #include #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__ */