From 9861660fdf5558f92f87387dce77a8d34013ef44 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Fri, 1 Aug 2003 19:30:39 +0000 Subject: add a CamelOperation for overriding status handler. 2003-07-29 Not Zed * 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 --- mail/mail-ops.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mail/mail-ops.h') 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); -- cgit