Add c++ armoring.
[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 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 General Public
17  * License along with this program; if not, write to the
18  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19  * Boston, MA 02111-1307, USA.
20  */
21
22
23 #ifndef _CAMEL_VEE_STORE_H
24 #define _CAMEL_VEE_STORE_H
25
26 #ifdef __cplusplus
27 extern "C" {
28 #pragma }
29 #endif /* __cplusplus */
30
31 #include <glib.h>
32 #include <camel/camel-store.h>
33
34 #define CAMEL_VEE_STORE(obj)         CAMEL_CHECK_CAST (obj, camel_vee_store_get_type (), CamelVeeStore)
35 #define CAMEL_VEE_STORE_CLASS(klass) CAMEL_CHECK_CLASS_CAST (klass, camel_vee_store_get_type (), CamelVeeStoreClass)
36 #define CAMEL_IS_VEE_STORE(obj)      CAMEL_CHECK_TYPE (obj, camel_vee_store_get_type ())
37
38 typedef struct _CamelVeeStore      CamelVeeStore;
39 typedef struct _CamelVeeStoreClass CamelVeeStoreClass;
40
41 /* open mode for folder, vee folder auto-update */
42 #define CAMEL_STORE_VEE_FOLDER_AUTO (1<<16)
43
44 struct _CamelVeeStore {
45         CamelStore parent;
46
47         struct _CamelVeeStorePrivate *priv;
48 };
49
50 struct _CamelVeeStoreClass {
51         CamelStoreClass parent_class;
52 };
53
54 guint           camel_vee_store_get_type        (void);
55 CamelVeeStore      *camel_vee_store_new (void);
56
57 #ifdef __cplusplus
58 }
59 #endif /* __cplusplus */
60
61 #endif /* ! _CAMEL_VEE_STORE_H */