From 50e5c22f0f5c4083ceee623b5bc02a6a7fc4f18c Mon Sep 17 00:00:00 2001 From: bertrand Date: Tue, 25 Jan 2000 01:09:56 +0000 Subject: parent class is now CamelSeekableStream idem idem idem idem (_seek): 2000-01-24 bertrand * camel/camel-seekable-stream.c: * camel/camel-seekable-stream.h: * camel/camel-simple-data-wrapper-stream.h: parent class is now CamelSeekableStream * camel/camel-stream-buffered-fs.h: idem * camel/camel-stream-buffered-fs.c: idem * camel/camel-stream-mem.h: idem * camel/camel-stream-mem.c: idem (_seek): change declaration * camel/camel-stream-fs.c: parent class is now CamelSeekableStream (_seek): change declaration * camel/camel-stream-fs.h: parent class is now CamelSeekableStream Major compatible change in the stream hierarchy. Removed the seek method from the general streams so that we can use them as "DataSources". svn path=/trunk/; revision=1622 --- camel/camel-stream-mem.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'camel/camel-stream-mem.h') diff --git a/camel/camel-stream-mem.h b/camel/camel-stream-mem.h index 0ebcfead24..fa8c0514eb 100644 --- a/camel/camel-stream-mem.h +++ b/camel/camel-stream-mem.h @@ -36,7 +36,7 @@ extern "C" { #include #include -#include "camel-stream.h" +#include "camel-seekable-stream.h" #define CAMEL_STREAM_MEM_TYPE (camel_stream_mem_get_type ()) #define CAMEL_STREAM_MEM(obj) (GTK_CHECK_CAST((obj), CAMEL_STREAM_MEM_TYPE, CamelStreamMem)) @@ -53,17 +53,18 @@ typedef enum typedef struct { - CamelStream parent_object; + CamelSeekableStream parent_object; GByteArray *buffer; gint position; CamelStreamMemMode mode; + } CamelStreamMem; typedef struct { - CamelStreamClass parent_class; + CamelSeekableStreamClass parent_class; /* Virtual methods */ -- cgit v1.2.3