1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * Copyright (C) 2000 Ximian Inc.
5 * Authors: Michael Zucchi <notzed@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 GNU
14 * General Public License for more details.
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., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
23 #ifndef _CAMEL_VEE_STORE_H
24 #define _CAMEL_VEE_STORE_H
27 #include <camel/camel-store.h>
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 ())
35 typedef struct _CamelVeeStore CamelVeeStore;
36 typedef struct _CamelVeeStoreClass CamelVeeStoreClass;
38 /* open mode for folder, vee folder auto-update */
39 #define CAMEL_STORE_VEE_FOLDER_AUTO (1<<16)
41 struct _CamelVeeStore {
44 /* Unmatched folder, set up in camel_vee_store_init */
45 struct _CamelVeeFolder *folder_unmatched;
46 GHashTable *unmatched_uids;
49 struct _CamelVeeStoreClass {
50 CamelStoreClass parent_class;
53 CamelType camel_vee_store_get_type (void);
54 CamelVeeStore *camel_vee_store_new (void);
58 #endif /* ! _CAMEL_VEE_STORE_H */