From 49f8a687a41e635cd83807d33c74afe8e55fb3df Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 8 Feb 2001 01:42:53 +0000 Subject: Changed to push the operation into a status stack. 2001-02-07 Not Zed * camel-operation.c (camel_operation_start): Changed to push the operation into a status stack. (camel_operation_progress): Changed to only accept % complete. (camel_operation_reset): Free status stack as well. * providers/pop3/camel-pop3-folder.c (pop3_get_message): Get the octect count from the return line, and pass it to get_additional_data(). (pop3_refresh_info): Added status stuff. * providers/pop3/camel-pop3-store.c (camel_pop3_command_get_additional_data): Added a total bytes expected argument for progress reporting & fixed callers. (camel_pop3_command_get_additional_data): Added progress reporting. * providers/local/camel-mbox-summary.c (mbox_summary_sync_full): (mbox_summary_sync_quick): (summary_rebuild): Added progress reporting stuff. svn path=/trunk/; revision=8095 --- camel/camel-session.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'camel/camel-session.h') diff --git a/camel/camel-session.h b/camel/camel-session.h index d740830d7e..c530c6ffe6 100644 --- a/camel/camel-session.h +++ b/camel/camel-session.h @@ -140,24 +140,6 @@ guint camel_session_register_timeout (CamelSession *session, gboolean camel_session_remove_timeout (CamelSession *session, guint handle); - -/* cancellation helper stuff, not yet finalised */ -typedef struct _CamelCancel CamelCancel; -/* main thread functions */ -CamelCancel *camel_cancel_new(void); -void camel_cancel_ref(CamelCancel *cc); -void camel_cancel_unref(CamelCancel *cc); -void camel_cancel_reset(CamelCancel *cc); -void camel_cancel_cancel(CamelCancel *cc); -/* subthread functions */ -void camel_cancel_register(CamelCancel *cc); -void camel_cancel_unregister(CamelCancel *cc); -/* called internally by camel, for the current thread */ -void camel_cancel_block(CamelCancel *cc); -void camel_cancel_unblock(CamelCancel *cc); -gboolean camel_cancel_check(CamelCancel *cc); -int camel_cancel_fd(CamelCancel *cc); - #ifdef __cplusplus } #endif /* __cplusplus */ -- cgit