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 #if !defined (__CAMEL_H_INSIDE__) && !defined (CAMEL_COMPILATION) 21 #error "Only <camel/camel.h> can be included directly." 22 #endif 23 24 #ifndef CAMEL_MIME_FILTER_BASIC_H 25 #define CAMEL_MIME_FILTER_BASIC_H 26 27 #include <camel/camel-enums.h> 28 #include <camel/camel-mime-filter.h> 29 30 /* Standard GObject macros */ 31 #define CAMEL_TYPE_MIME_FILTER_BASIC \ 32 (camel_mime_filter_basic_get_type ()) 33 #define CAMEL_MIME_FILTER_BASIC(obj) \ 34 (G_TYPE_CHECK_INSTANCE_CAST \ 35 ((obj), CAMEL_TYPE_MIME_FILTER_BASIC, CamelMimeFilterBasic)) 36 #define CAMEL_MIME_FILTER_BASIC_CLASS(cls) \ 37 (G_TYPE_CHECK_CLASS_CAST \ 38 ((cls), CAMEL_TYPE_MIME_FILTER_BASIC, CamelMimeFilterBasicClass)) 39 #define CAMEL_IS_MIME_FILTER_BASIC(obj) \ 40 (G_TYPE_CHECK_INSTANCE_TYPE \ 41 ((obj), CAMEL_TYPE_MIME_FILTER_BASIC)) 42 #define CAMEL_IS_MIME_FILTER_BASIC_CLASS(cls) \ 43 (G_TYPE_CHECK_CLASS_TYPE \ 44 ((cls), CAMEL_TYPE_MIME_FILTER_BASIC)) 45 #define CAMEL_MIME_FILTER_BASIC_GET_CLASS(obj) \ 46 (G_TYPE_INSTANCE_GET_CLASS \ 47 ((obj), CAMEL_TYPE_MIME_FILTER_BASIC, CamelMimeFilterBasicClass)) 48 49 G_BEGIN_DECLS 50 51 typedef struct _CamelMimeFilterBasic CamelMimeFilterBasic; 52 typedef struct _CamelMimeFilterBasicClass CamelMimeFilterBasicClass; 53 typedef struct _CamelMimeFilterBasicPrivate CamelMimeFilterBasicPrivate; 54 55 struct _CamelMimeFilterBasic { 56 CamelMimeFilter parent; 57 CamelMimeFilterBasicPrivate *priv; 58 }; 59 60 struct _CamelMimeFilterBasicClass { 61 CamelMimeFilterClass parent_class; 62 63 /* Padding for future expansion */ 64 gpointer reserved[20]; 65 }; 66 67 GType camel_mime_filter_basic_get_type (void); 68 CamelMimeFilter * 69 camel_mime_filter_basic_new (CamelMimeFilterBasicType type); 70 71 G_END_DECLS 72 73 #endif /* CAMEL_MIME_FILTER_BASIC_H */ 74