aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/local/camel-spool-store.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/local/camel-spool-store.h')
-rw-r--r--camel/providers/local/camel-spool-store.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/camel/providers/local/camel-spool-store.h b/camel/providers/local/camel-spool-store.h
index 677f6aa0ed..1e1753481b 100644
--- a/camel/providers/local/camel-spool-store.h
+++ b/camel/providers/local/camel-spool-store.h
@@ -29,23 +29,28 @@ extern "C" {
#pragma }
#endif /* __cplusplus }*/
-#include "camel-store.h"
+#include "camel-mbox-store.h"
#define CAMEL_SPOOL_STORE_TYPE (camel_spool_store_get_type ())
#define CAMEL_SPOOL_STORE(obj) (CAMEL_CHECK_CAST((obj), CAMEL_SPOOL_STORE_TYPE, CamelSpoolStore))
#define CAMEL_SPOOL_STORE_CLASS(k) (CAMEL_CHECK_CLASS_CAST ((k), CAMEL_SPOOL_STORE_TYPE, CamelSpoolStoreClass))
#define CAMEL_IS_SPOOL_STORE(o) (CAMEL_CHECK_TYPE((o), CAMEL_SPOOL_STORE_TYPE))
+typedef enum _camel_spool_store_t {
+ CAMEL_SPOOL_STORE_MBOX, /* a single mbox */
+ CAMEL_SPOOL_STORE_ELM, /* elm/pine/etc tree of mbox files in folders */
+} camel_spool_store_t;
typedef struct {
- CamelStore parent_object;
+ CamelMboxStore parent_object;
+ camel_spool_store_t type;
} CamelSpoolStore;
typedef struct {
- CamelStoreClass parent_class;
+ CamelMboxStoreClass parent_class;
} CamelSpoolStoreClass;
@@ -55,8 +60,6 @@ typedef struct {
/* Standard Camel function */
CamelType camel_spool_store_get_type (void);
-const gchar *camel_spool_store_get_toplevel_dir (CamelSpoolStore *store);
-
#ifdef __cplusplus
}
#endif /* __cplusplus */