WvStreams
wvgzipstream.cc
1 #include "wvgzipstream.h"
2 #include "wvmoniker.h"
3 #include "wvlinkerhack.h"
4 
5 WV_LINK(WvGzipStream);
6 
7 static IWvStream *creator(WvStringParm s, IObject *_obj)
8 {
9  return new WvGzipStream(new WvStreamClone(wvcreate<IWvStream>(s, _obj)));
10 }
11 
12 static WvMoniker<IWvStream> reg("gzip", creator);
13 
14 
IWvStream
Definition: iwvstream.h:24
WvMoniker
A type-safe version of WvMonikerBase that lets you provide create functions for object types other th...
Definition: wvmoniker.h:61
WvStreamClone
WvStreamClone simply forwards all requests to the "cloned" stream.
Definition: wvstreamclone.h:23
IObject
Definition: IObject.h:65
WvGzipStream
A stream implementing Gzip compression and decompression.
Definition: wvgzipstream.h:20