2 * Copyright (C) 2000 Ximian Inc.
4 * Authors: Michael Zucchi <notzed@ximian.com>
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.
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.
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.
21 #ifndef _CAMEL_IMAPP_FETCH_STREAM_H
22 #define _CAMEL_IMAPP_FETCH_STREAM_H
24 #include <camel/camel-stream.h>
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 ())
32 typedef struct _CamelIMAPPFetchStreamClass CamelIMAPPFetchStreamClass;
33 typedef struct _CamelIMAPPFetchStream CamelIMAPPFetchStream;
35 struct _CamelIMAPPFetchStream {
38 struct _CamelIMAPPEngine *engine;
41 struct _CamelIMAPPFetchStreamClass {
42 CamelStreamClass parent_class;
45 CamelType camel_imapp_fetch_stream_get_type (void);
47 CamelStream *camel_imapp_fetch_stream_new (struct _CamelIMAPPEngine *src, const char *uid, const char *spec);
51 #endif /* ! _CAMEL_IMAPP_FETCH_STREAM_H */