aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-01-28 11:53:08 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-01-28 11:53:08 +0800
commitd8c95a55bc0d7dc465ce11070cd237c8b53c53fa (patch)
treef0dff3d323d2a5562fb79b65acdd8149870c8710 /mail/mail-ops.h
parent0deb194bc58eb4a4bf263486398a442d5ade6cc6 (diff)
downloadgsoc2013-evolution-d8c95a55bc0d7dc465ce11070cd237c8b53c53fa.tar.gz
gsoc2013-evolution-d8c95a55bc0d7dc465ce11070cd237c8b53c53fa.tar.zst
gsoc2013-evolution-d8c95a55bc0d7dc465ce11070cd237c8b53c53fa.zip
Changed to use mail_save_part to save the data in another thread.
2001-01-28 Not Zed <NotZed@Ximian.com> * mail-display.c (write_data_to_file): Changed to use mail_save_part to save the data in another thread. (save_data_cb): Hide the fileselector once we have a button press, and are saving stuff. * mail-ops.c (mail_save_part): New function to save a part content asynchronously. svn path=/trunk/; revision=7867
Diffstat (limited to 'mail/mail-ops.h')
-rw-r--r--mail/mail-ops.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/mail-ops.h b/mail/mail-ops.h
index e39a1a9c41..7b4fe0ec36 100644
--- a/mail/mail-ops.h
+++ b/mail/mail-ops.h
@@ -78,6 +78,8 @@ void mail_create_folder(const char *uri,
/* save messages */
int mail_save_messages(CamelFolder *folder, GPtrArray *uids, const char *path,
void (*done) (CamelFolder *folder, GPtrArray *uids, char *path, void *data), void *data);
+int mail_save_part(CamelMimePart *part, const char *path,
+ void (*done)(CamelMimePart *part, char *path, int saved, void *data), void *data);
int mail_send_mail(const char *uri, CamelMimeMessage *message,
void (*done) (char *uri, CamelMimeMessage *message, gboolean sent, void *data), void *data);