diff options
author | Srininvasa Ragavan <sragavan@novell.com> | 2005-05-23 15:10:03 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2005-05-23 15:10:03 +0800 |
commit | b25b709bf7fa81751810567af26ba4e8fe416b3a (patch) | |
tree | 97f476d22fbb8f2b0769ae28d8113b00667bd17f /composer/e-msg-composer-attachment.h | |
parent | f3074e998b560938b0c904aabfb317d5764e71d6 (diff) | |
download | gsoc2013-evolution-b25b709bf7fa81751810567af26ba4e8fe416b3a.tar.gz gsoc2013-evolution-b25b709bf7fa81751810567af26ba4e8fe416b3a.tar.zst gsoc2013-evolution-b25b709bf7fa81751810567af26ba4e8fe416b3a.zip |
Added attachment of remote URL. The dnd of url, downloads the files and
2005-05-23 Srininvasa Ragavan <sragavan@novell.com>
* e-msg-composer-attachment-bar.c, e-msg-composer-attachment-bar.h,
e-msg-composer-attachment.c, e-msg-composer-attachment.h, e-msg-composer.c,
e-msg-composer.h, mail-composer.error.xml : Added attachment of remote URL.
The dnd of url, downloads the files and attaches to the mail.
svn path=/trunk/; revision=29399
Diffstat (limited to 'composer/e-msg-composer-attachment.h')
-rw-r--r-- | composer/e-msg-composer-attachment.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/composer/e-msg-composer-attachment.h b/composer/e-msg-composer-attachment.h index caef6ebc58..d287a00dbf 100644 --- a/composer/e-msg-composer-attachment.h +++ b/composer/e-msg-composer-attachment.h @@ -27,6 +27,7 @@ #include <glade/glade-xml.h> #include <camel/camel-mime-part.h> #include <camel/camel-exception.h> +#include <libgnomevfs/gnome-vfs.h> #ifdef __cplusplus extern "C" { @@ -53,6 +54,13 @@ struct _EMsgComposerAttachment { gulong size; GdkPixbuf *pixbuf_cache; + + GnomeVFSAsyncHandle *handle; + gboolean is_available_local; + char *file_name; + char *description; + gboolean disposition; + int index; }; struct _EMsgComposerAttachmentClass { @@ -66,9 +74,17 @@ GType e_msg_composer_attachment_get_type (void); EMsgComposerAttachment *e_msg_composer_attachment_new (const char *file_name, const char *disposition, CamelException *ex); +EMsgComposerAttachment * e_msg_composer_attachment_new_remote_file (const char *file_name, + const char *disposition, + CamelException *ex); +void e_msg_composer_attachment_build_remote_file (const char *filename, + EMsgComposerAttachment *attachment, + const char *disposition, + CamelException *ex); EMsgComposerAttachment *e_msg_composer_attachment_new_from_mime_part (CamelMimePart *part); void e_msg_composer_attachment_edit (EMsgComposerAttachment *attachment, GtkWidget *parent); + #ifdef __cplusplus } |