diff options
author | Dan Winship <danw@src.gnome.org> | 2001-05-10 06:01:42 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-05-10 06:01:42 +0800 |
commit | 72be879a2786d992936b8195b328dfca75b22919 (patch) | |
tree | dfe94a8ecaf416ebf13c3c109d9bbd3b4ad389be /mail/mail-ops.h | |
parent | 630241d74b1a6dede97380c8ed70c74641399e0f (diff) | |
download | gsoc2013-evolution-72be879a2786d992936b8195b328dfca75b22919.tar.gz gsoc2013-evolution-72be879a2786d992936b8195b328dfca75b22919.tar.zst gsoc2013-evolution-72be879a2786d992936b8195b328dfca75b22919.zip |
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
Diffstat (limited to 'mail/mail-ops.h')
-rw-r--r-- | mail/mail-ops.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 */ |