aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-attachment.h
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2005-07-20 19:17:42 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2005-07-20 19:17:42 +0800
commita4e4725d360cb603c6c122227c0f781992fe9b52 (patch)
treeb4b4d093ad11f43dad1310dc5c9c12f2c24bfab5 /widgets/misc/e-attachment.h
parent7e888fe544055c600721f3596ceec367427547cc (diff)
downloadgsoc2013-evolution-a4e4725d360cb603c6c122227c0f781992fe9b52.tar
gsoc2013-evolution-a4e4725d360cb603c6c122227c0f781992fe9b52.tar.gz
gsoc2013-evolution-a4e4725d360cb603c6c122227c0f781992fe9b52.tar.bz2
gsoc2013-evolution-a4e4725d360cb603c6c122227c0f781992fe9b52.tar.lz
gsoc2013-evolution-a4e4725d360cb603c6c122227c0f781992fe9b52.tar.xz
gsoc2013-evolution-a4e4725d360cb603c6c122227c0f781992fe9b52.tar.zst
gsoc2013-evolution-a4e4725d360cb603c6c122227c0f781992fe9b52.zip
Cleaned up most of it. Added the DnD.
2005-07-20 Srinivasa Ragavan <sragavan@novell.com> * e-attachment-bar.[ch]:(remove_attachment) (update) (e_attachment_bar_get_selector) (e_attachment_bar_get_attachment) (destroy) (init) (e_attachment_bar_new) (e_attachment_bar_add_attachment) (e_attachment_bar_attach_remote_file) Cleaned up most of it. Added the DnD. * e-attachment.[ch]: (real_changed) (class_init) (init) (e_attachment_new) (e_attachment_new_remote_file) (e_attachment_build_remote_file): Moved the remote download code from bar to here and few cleanups. svn path=/trunk/; revision=29813
Diffstat (limited to 'widgets/misc/e-attachment.h')
-rw-r--r--widgets/misc/e-attachment.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/widgets/misc/e-attachment.h b/widgets/misc/e-attachment.h
index 1a0ef7d167..92686faec2 100644
--- a/widgets/misc/e-attachment.h
+++ b/widgets/misc/e-attachment.h
@@ -60,6 +60,7 @@ struct _EAttachment {
GnomeVFSAsyncHandle *handle;
gboolean is_available_local;
+ int percentage;
char *file_name;
char *description;
gboolean disposition;
@@ -74,14 +75,16 @@ struct _EAttachmentClass {
GObjectClass parent_class;
void (*changed) (EAttachment *attachment);
+ void (*update) (EAttachment *attachment, char *msg);
};
GType e_attachment_get_type (void);
EAttachment *e_attachment_new (const char *file_name,
const char *disposition,
CamelException *ex);
-EAttachment * e_attachment_new_remote_file (const char *file_name,
+EAttachment * e_attachment_new_remote_file (const char *url,
const char *disposition,
+ const char *path,
CamelException *ex);
void e_attachment_build_remote_file (const char *filename,
EAttachment *attachment,