1
#ifndef TNY_CAMEL_MEM_STREAM_H
2
#define TNY_CAMEL_MEM_STREAM_H
4
/* libtinymail-camel The Tiny Mail base library for Camel
5
* Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org>
7
* This library is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Lesser General Public
9
* License as published by the Free Software Foundation; either
10
* version 2 of the License, or (at your option) any later version.
12
* This library 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 GNU
15
* Lesser General Public License for more details.
17
* You should have received a copy of the GNU Lesser General Public
18
* License along with self library; if not, write to the
19
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20
* Boston, MA 02111-1307, USA.
24
#include <glib-object.h>
26
#include <tny-camel-stream.h>
30
#define TNY_TYPE_CAMEL_MEM_STREAM (tny_camel_mem_stream_get_type ())
31
#define TNY_CAMEL_MEM_STREAM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TNY_TYPE_CAMEL_MEM_STREAM, TnyCamelMemStream))
32
#define TNY_CAMEL_MEM_STREAM_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), TNY_TYPE_CAMEL_MEM_STREAM, TnyCamelMemStreamClass))
33
#define TNY_IS_CAMEL_MEM_STREAM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TNY_TYPE_CAMEL_MEM_STREAM))
34
#define TNY_IS_CAMEL_MEM_STREAM_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), TNY_TYPE_CAMEL_MEM_STREAM))
35
#define TNY_CAMEL_MEM_STREAM_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), TNY_TYPE_CAMEL_MEM_STREAM, TnyCamelMemStreamClass))
37
typedef struct _TnyCamelMemStream TnyCamelMemStream;
38
typedef struct _TnyCamelMemStreamClass TnyCamelMemStreamClass;
40
struct _TnyCamelMemStream
42
TnyCamelStream parent;
45
struct _TnyCamelMemStreamClass
47
TnyCamelStreamClass parent;
50
GType tny_camel_mem_stream_get_type (void);
51
TnyStream* tny_camel_mem_stream_new (void);