diff options
Diffstat (limited to 'composer/e-msg-composer-attachment.h')
-rw-r--r-- | composer/e-msg-composer-attachment.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/composer/e-msg-composer-attachment.h b/composer/e-msg-composer-attachment.h index 7e3c88238b..e0cd2eb867 100644 --- a/composer/e-msg-composer-attachment.h +++ b/composer/e-msg-composer-attachment.h @@ -25,6 +25,7 @@ #include <gnome.h> #include <glade/glade-xml.h> +#include <camel/camel-mime-part.h> #ifdef __cplusplus extern "C" { @@ -46,10 +47,8 @@ struct _EMsgComposerAttachment { GladeXML *editor_gui; - gchar *file_name; - gchar *description; - gchar *mime_type; - + CamelMimePart *body; + gboolean guessed_type; gulong size; }; @@ -62,6 +61,7 @@ struct _EMsgComposerAttachmentClass { GtkType e_msg_composer_attachment_get_type (void); EMsgComposerAttachment *e_msg_composer_attachment_new (const gchar *file_name); +EMsgComposerAttachment *e_msg_composer_attachment_new_from_mime_part (CamelMimePart *part); void e_msg_composer_attachment_edit (EMsgComposerAttachment *attachment, GtkWidget *parent); |