Fix FSF address (Tobias Mueller, #470445)
[platform/upstream/evolution-data-server.git] / camel / providers / local / camel-spool-store.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
2  *
3  * Authors: Michael Zucchi <notzed@ximian.com>
4  *
5  * Copyright (C) 2001 Ximian Inc (www.ximian.com)
6  *
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.
10  *
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.
15  *
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
19  * USA
20  */
21
22
23 #ifndef CAMEL_SPOOL_STORE_H
24 #define CAMEL_SPOOL_STORE_H 1
25
26 #include "camel-mbox-store.h"
27
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))
32
33 G_BEGIN_DECLS
34
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;
39
40 typedef struct {
41         CamelMboxStore parent_object;   
42
43         camel_spool_store_t type;
44 } CamelSpoolStore;
45
46
47
48 typedef struct {
49         CamelMboxStoreClass parent_class;
50
51 } CamelSpoolStoreClass;
52
53
54 /* public methods */
55
56 /* Standard Camel function */
57 CamelType camel_spool_store_get_type (void);
58
59 G_END_DECLS
60
61 #endif /* CAMEL_SPOOL_STORE_H */
62
63