Fix FSF address (Tobias Mueller, #470445)
[platform/upstream/evolution-data-server.git] / camel / providers / imapp / camel-imapp-fetch-stream.h
1 /*
2  *  Copyright (C) 2000 Ximian Inc.
3  *
4  *  Authors: Michael Zucchi <notzed@ximian.com>
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of version 2 of the GNU Lesser General Public
8  * License as published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this program; if not, write to the
17  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  * Boston, MA 02110-1301, USA.
19  */
20
21 #ifndef _CAMEL_IMAPP_FETCH_STREAM_H
22 #define _CAMEL_IMAPP_FETCH_STREAM_H
23
24 #include <camel/camel-stream.h>
25
26 #define CAMEL_IMAPP_FETCH_STREAM(obj)         CAMEL_CHECK_CAST (obj, camel_imapp_fetch_stream_get_type (), CamelIMAPPFetchStream)
27 #define CAMEL_IMAPP_FETCH_STREAM_CLASS(klass) CAMEL_CHECK_CLASS_CAST (klass, camel_imapp_fetch_stream_get_type (), CamelIMAPPFetchStreamClass)
28 #define CAMEL_IS_IMAP_FETCH_STREAM(obj)      CAMEL_CHECK_TYPE (obj, camel_imapp_fetch_stream_get_type ())
29
30 G_BEGIN_DECLS
31
32 typedef struct _CamelIMAPPFetchStreamClass CamelIMAPPFetchStreamClass;
33 typedef struct _CamelIMAPPFetchStream CamelIMAPPFetchStream;
34
35 struct _CamelIMAPPFetchStream {
36         CamelStream parent;
37
38         struct _CamelIMAPPEngine *engine;
39 };
40
41 struct _CamelIMAPPFetchStreamClass {
42         CamelStreamClass parent_class;
43 };
44
45 CamelType        camel_imapp_fetch_stream_get_type      (void);
46
47 CamelStream     *camel_imapp_fetch_stream_new           (struct _CamelIMAPPEngine *src, const char *uid, const char *spec);
48
49 G_END_DECLS
50
51 #endif /* ! _CAMEL_IMAPP_FETCH_STREAM_H */