Oops, forgot to commit. New stream/filter for doing
[platform/upstream/evolution-data-server.git] / camel / camel-stream-null.h
1 /*
2  *  Copyright (C) 2000 Helix Code Inc.
3  *
4  *  Authors: Michael Zucchi <notzed@helixcode.com>
5  *
6  *  This program is free software; you can redistribute it and/or
7  *  modify it under the terms of the GNU Library General Public License
8  *  as published by the Free Software Foundation; either version 2 of
9  *  the License, or (at your option) any later version.
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
14  *  GNU Library General Public License for more details.
15  *
16  *  You should have received a copy of the GNU Library General Public
17  *  License along with this program; if not, write to the Free Software
18  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19  */
20
21 #ifndef _CAMEL_STREAM_NULL_H
22 #define _CAMEL_STREAM_NULL_H
23
24 #include <camel/camel-stream.h>
25
26 #define CAMEL_STREAM_NULL(obj)         CAMEL_CHECK_CAST (obj, camel_stream_null_get_type (), CamelStreamNull)
27 #define CAMEL_STREAM_NULL_CLASS(klass) CAMEL_CHECK_CLASS_CAST (klass, camel_stream_null_get_type (), CamelStreamNullClass)
28 #define IS_CAMEL_STREAM_NULL(obj)      CAMEL_CHECK_TYPE (obj, camel_stream_null_get_type ())
29
30 typedef struct _CamelStreamNullClass CamelStreamNullClass;
31
32 struct _CamelStreamNull {
33         CamelStream parent;
34 };
35
36 struct _CamelStreamNullClass {
37         CamelStreamClass parent_class;
38 };
39
40 guint                   camel_stream_null_get_type      (void);
41
42 CamelStreamNull      *camel_stream_null_new             (void);
43
44 #endif /* ! _CAMEL_STREAM_NULL_H */