Fix FSF address (Tobias Mueller, #470445)
[platform/upstream/evolution-data-server.git] / camel / camel-vee-store.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3  *  Copyright (C) 2000 Ximian Inc.
4  *
5  *  Authors: Michael Zucchi <notzed@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 GNU
14  * General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this program; if not, write to the
18  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  * Boston, MA 02110-1301, USA.
20  */
21
22
23 #ifndef _CAMEL_VEE_STORE_H
24 #define _CAMEL_VEE_STORE_H
25
26 #include <glib.h>
27 #include <camel/camel-store.h>
28
29 #define CAMEL_VEE_STORE(obj)         CAMEL_CHECK_CAST (obj, camel_vee_store_get_type (), CamelVeeStore)
30 #define CAMEL_VEE_STORE_CLASS(klass) CAMEL_CHECK_CLASS_CAST (klass, camel_vee_store_get_type (), CamelVeeStoreClass)
31 #define CAMEL_IS_VEE_STORE(obj)      CAMEL_CHECK_TYPE (obj, camel_vee_store_get_type ())
32
33 G_BEGIN_DECLS
34
35 typedef struct _CamelVeeStore      CamelVeeStore;
36 typedef struct _CamelVeeStoreClass CamelVeeStoreClass;
37
38 /* open mode for folder, vee folder auto-update */
39 #define CAMEL_STORE_VEE_FOLDER_AUTO (1<<16)
40
41 struct _CamelVeeStore {
42         CamelStore parent;
43
44         /* Unmatched folder, set up in camel_vee_store_init */
45         struct _CamelVeeFolder *folder_unmatched;
46         GHashTable *unmatched_uids;
47 };
48
49 struct _CamelVeeStoreClass {
50         CamelStoreClass parent_class;
51 };
52
53 CamelType               camel_vee_store_get_type        (void);
54 CamelVeeStore      *camel_vee_store_new (void);
55
56 G_END_DECLS
57
58 #endif /* ! _CAMEL_VEE_STORE_H */