diff options
author | Not Zed <NotZed@Ximian.com> | 2003-08-02 03:30:39 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-08-02 03:30:39 +0800 |
commit | 9861660fdf5558f92f87387dce77a8d34013ef44 (patch) | |
tree | 1b9992fdc8f425eb7b3c967010a0aed9155de8f7 /mail/mail-ops.h | |
parent | 1b7da17c253261888de022fa0d6bebaa2d63df7a (diff) | |
download | gsoc2013-evolution-9861660fdf5558f92f87387dce77a8d34013ef44.tar.gz gsoc2013-evolution-9861660fdf5558f92f87387dce77a8d34013ef44.tar.zst gsoc2013-evolution-9861660fdf5558f92f87387dce77a8d34013ef44.zip |
add a CamelOperation for overriding status handler.
2003-07-29 Not Zed <NotZed@Ximian.com>
* mail-folder-cache.c (mail_note_store): add a CamelOperation for
overriding status handler.
* mail-send-recv.c (receive_update_got_store): Pass our own cancel
handle to get_folderinfo and mail_note_store.
(mail_send_receive, mail_receive_uri): Same for get_store.
* mail-ops.c (mail_get_store, mail_get_folderinfo): Add a
CamelOperation argument, for overriding the status handler. Fixed
most calles to pass NULL to use the default.
svn path=/trunk/; revision=22056
Diffstat (limited to 'mail/mail-ops.h')
-rw-r--r-- | mail/mail-ops.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-ops.h b/mail/mail-ops.h index 47b082b0ff..f81829db45 100644 --- a/mail/mail-ops.h +++ b/mail/mail-ops.h @@ -68,7 +68,7 @@ int mail_get_folder (const char *uri, guint32 flags, EThread *thread); /* and for a store */ -int mail_get_store (const char *uri, +int mail_get_store (const char *uri, CamelOperation *op, void (*done) (char *uri, CamelStore *store, void *data), void *data); /* build an attachment */ @@ -94,7 +94,7 @@ void mail_empty_trash (EAccount *account, void *data); /* get folder info asynchronously */ -int mail_get_folderinfo (CamelStore *store, +int mail_get_folderinfo (CamelStore *store, CamelOperation *op, void (*done)(CamelStore *store, CamelFolderInfo *info, void *data), void *data); |