1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
3 * Authors: Michael Zucchi <notzed@ximian.com>
5 * Copyright (C) 2001 Ximian Inc (www.ximian.com)
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of version 2 of the GNU Lesser General Public
9 * License as published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
23 #ifndef CAMEL_SPOOL_STORE_H
24 #define CAMEL_SPOOL_STORE_H 1
26 #include "camel-mbox-store.h"
28 #define CAMEL_SPOOL_STORE_TYPE (camel_spool_store_get_type ())
29 #define CAMEL_SPOOL_STORE(obj) (CAMEL_CHECK_CAST((obj), CAMEL_SPOOL_STORE_TYPE, CamelSpoolStore))
30 #define CAMEL_SPOOL_STORE_CLASS(k) (CAMEL_CHECK_CLASS_CAST ((k), CAMEL_SPOOL_STORE_TYPE, CamelSpoolStoreClass))
31 #define CAMEL_IS_SPOOL_STORE(o) (CAMEL_CHECK_TYPE((o), CAMEL_SPOOL_STORE_TYPE))
35 typedef enum _camel_spool_store_t {
36 CAMEL_SPOOL_STORE_MBOX, /* a single mbox */
37 CAMEL_SPOOL_STORE_ELM, /* elm/pine/etc tree of mbox files in folders */
38 } camel_spool_store_t;
41 CamelMboxStore parent_object;
43 camel_spool_store_t type;
49 CamelMboxStoreClass parent_class;
51 } CamelSpoolStoreClass;
56 /* Standard Camel function */
57 CamelType camel_spool_store_get_type (void);
61 #endif /* CAMEL_SPOOL_STORE_H */