1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * Authors: Jeffrey Stedfast <fejj@ximian.com>
5 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU Lesser General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 #if !defined (__CAMEL_H_INSIDE__) && !defined (CAMEL_COMPILATION)
24 #error "Only <camel/camel.h> can be included directly."
27 #ifndef CAMEL_MIME_FILTER_GZIP_H
28 #define CAMEL_MIME_FILTER_GZIP_H
30 #include <camel/camel-enums.h>
31 #include <camel/camel-mime-filter.h>
33 /* Standard GObject macros */
34 #define CAMEL_TYPE_MIME_FILTER_GZIP \
35 (camel_mime_filter_gzip_get_type ())
36 #define CAMEL_MIME_FILTER_GZIP(obj) \
37 (G_TYPE_CHECK_INSTANCE_CAST \
38 ((obj), CAMEL_TYPE_MIME_FILTER_GZIP, CamelMimeFilterGZip))
39 #define CAMEL_MIME_FILTER_GZIP_CLASS(cls) \
40 (G_TYPE_CHECK_CLASS_CAST \
41 ((cls), CAMEL_TYPE_MIME_FILTER_GZIP, CamelMimeFilterGZipClass))
42 #define CAMEL_IS_MIME_FILTER_GZIP(obj) \
43 (G_TYPE_CHECK_INSTANCE_TYPE \
44 ((obj), CAMEL_TYPE_MIME_FILTER_GZIP))
45 #define CAMEL_IS_MIME_FILTER_GZIP_CLASS(cls) \
46 (G_TYPE_CHECK_CLASS_TYPE \
47 ((cls), CAMEL_TYPE_MIME_FILTER_GZIP))
48 #define CAMEL_MIME_FILTER_GZIP_GET_CLASS(obj) \
49 (CAMEL_CHECK_GET_CLASS \
50 ((obj), CAMEL_TYPE_MIME_FILTER_GZIP, CamelMimeFilterGZipClass))
54 typedef struct _CamelMimeFilterGZip CamelMimeFilterGZip;
55 typedef struct _CamelMimeFilterGZipClass CamelMimeFilterGZipClass;
56 typedef struct _CamelMimeFilterGZipPrivate CamelMimeFilterGZipPrivate;
58 struct _CamelMimeFilterGZip {
59 CamelMimeFilter parent;
60 CamelMimeFilterGZipPrivate *priv;
63 struct _CamelMimeFilterGZipClass {
64 CamelMimeFilterClass parent_class;
67 GType camel_mime_filter_gzip_get_type (void);
69 camel_mime_filter_gzip_new (CamelMimeFilterGZipMode mode,
74 #endif /* CAMEL_MIME_FILTER_GZIP_H */