1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ 2 /* 3 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) 4 * 5 * This library is free software: you can redistribute it and/or modify it 6 * under the terms of the GNU Lesser General Public License as published by 7 * the Free Software Foundation. 8 * 9 * This library is distributed in the hope that it will be useful, but 10 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 11 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License 12 * for more details. 13 * 14 * You should have received a copy of the GNU Lesser General Public License 15 * along with this library. If not, see <http://www.gnu.org/licenses/>. 16 * 17 * Authors: Michael Zucchi <notzed@ximian.com> 18 */ 19 20 #ifndef CAMEL_MBOX_STORE_H 21 #define CAMEL_MBOX_STORE_H 22 23 #include "camel-local-store.h" 24 25 /* Standard GObject macros */ 26 #define CAMEL_TYPE_MBOX_STORE \ 27 (camel_mbox_store_get_type ()) 28 #define CAMEL_MBOX_STORE(obj) \ 29 (G_TYPE_CHECK_INSTANCE_CAST \ 30 ((obj), CAMEL_TYPE_MBOX_STORE, CamelMboxStore)) 31 #define CAMEL_MBOX_STORE_CLASS(cls) \ 32 (G_TYPE_CHECK_CLASS_CAST \ 33 ((cls), CAMEL_TYPE_MBOX_STORE, CamelMboxStoreClass)) 34 #define CAMEL_IS_MBOX_STORE(obj) \ 35 (G_TYPE_CHECK_INSTANCE_TYPE \ 36 ((obj), CAMEL_TYPE_MBOX_STORE)) 37 #define CAMEL_IS_MBOX_STORE_CLASS(cls) \ 38 (G_TYPE_CHECK_CLASS_TYPE \ 39 ((cls), CAMEL_TYPE_MBOX_STORE)) 40 #define CAMEL_MBOX_STORE_GET_CLASS(obj) \ 41 (G_TYPE_INSTANCE_GET_CLASS \ 42 ((obj), CAMEL_TYPE_MBOX_STORE, CamelMboxStoreClass)) 43 44 G_BEGIN_DECLS 45 46 typedef struct _CamelMboxStore CamelMboxStore; 47 typedef struct _CamelMboxStoreClass CamelMboxStoreClass; 48 49 struct _CamelMboxStore { 50 CamelLocalStore parent; 51 }; 52 53 struct _CamelMboxStoreClass { 54 CamelLocalStoreClass parent_class; 55 56 /* Padding for future expansion */ 57 gpointer reserved[20]; 58 }; 59 60 GType camel_mbox_store_get_type (void); 61 62 G_END_DECLS 63 64 #endif /* CAMEL_MBOX_STORE_H */ 65 66