aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-disco-store.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-disco-store.h')
-rw-r--r--camel/camel-disco-store.h27
1 files changed, 18 insertions, 9 deletions
diff --git a/camel/camel-disco-store.h b/camel/camel-disco-store.h
index cb40cf4590..73ba677c34 100644
--- a/camel/camel-disco-store.h
+++ b/camel/camel-disco-store.h
@@ -42,15 +42,14 @@ extern "C" {
typedef enum {
CAMEL_DISCO_STORE_ONLINE,
CAMEL_DISCO_STORE_OFFLINE,
-#ifdef NOTYET
CAMEL_DISCO_STORE_RESYNCING
-#endif
} CamelDiscoStoreStatus;
struct _CamelDiscoStore {
CamelRemoteStore parent_object;
CamelDiscoStoreStatus status;
+ CamelDiscoDiary *diary;
};
@@ -62,6 +61,7 @@ typedef struct {
CamelException *);
gboolean (*can_work_offline) (CamelDiscoStore *);
+
gboolean (*connect_online) (CamelService *,
CamelException *);
gboolean (*connect_offline) (CamelService *,
@@ -80,16 +80,24 @@ typedef struct {
const char *name,
guint32 flags,
CamelException *ex);
-
- CamelFolderInfo * (*get_folder_info_online) (CamelStore *store,
- const char *top,
- guint32 flags,
- CamelException *ex);
- CamelFolderInfo * (*get_folder_info_offline) (CamelStore *store,
- const char *top,
+ CamelFolder * (*get_folder_resyncing) (CamelStore *store,
+ const char *name,
guint32 flags,
CamelException *ex);
+ CamelFolderInfo * (*get_folder_info_online) (CamelStore *store,
+ const char *top,
+ guint32 flags,
+ CamelException *ex);
+ CamelFolderInfo * (*get_folder_info_offline) (CamelStore *store,
+ const char *top,
+ guint32 flags,
+ CamelException *ex);
+ CamelFolderInfo * (*get_folder_info_resyncing) (CamelStore *store,
+ const char *top,
+ guint32 flags,
+ CamelException *ex);
+
} CamelDiscoStoreClass;
@@ -103,6 +111,7 @@ void camel_disco_store_set_status (CamelDiscoStore *,
CamelException *);
gboolean camel_disco_store_can_work_offline (CamelDiscoStore *);
+
/* Convenience functions */
gboolean camel_disco_store_check_online (CamelDiscoStore *store, CamelException *ex);