From 72be879a2786d992936b8195b328dfca75b22919 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 9 May 2001 22:01:42 +0000 Subject: New file, started by Ettore, finished by me, to implement the * mail-offline-handler.c: New file, started by Ettore, finished by me, to implement the GNOME_Evolution_Offline interface. * Makefile.am (evolution_mail_SOURCES): Add mail-offline-handler.[ch] * mail-ops.c (mail_store_set_offline): Set a store online or offline. * mail-send-recv.c (auto_timeout): Don't run auto-check-for-mail while the session is offline. * component-factory.c (component_fn): Set up offline handler. svn path=/trunk/; revision=9739 --- mail/mail-ops.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mail/mail-ops.h') diff --git a/mail/mail-ops.h b/mail/mail-ops.h index efca4faaab..e19051ab1b 100644 --- a/mail/mail-ops.h +++ b/mail/mail-ops.h @@ -140,6 +140,11 @@ void mail_filter_folder (CamelFolder *source_folder, GPtrArray *uids, /* convenience function for above */ void mail_filter_on_demand (CamelFolder *folder, GPtrArray *uids); +/* Work Offline */ +void mail_store_set_offline (CamelStore *store, gboolean offline, + void (*done)(CamelStore *, void *data), + void *data); + #ifdef __cplusplus } #endif /* __cplusplus */ -- cgit v1.2.3