It seems we need to explictly link to boost here, to avoid undefined reference to...
[gnash.git] / libbase / zlib_adapter.h
blob9d590d5200076c939c5d586726dd63638e567235
1 // zlib_adapter.h -- Thatcher Ulrich 2003
3 // This source code has been donated to the Public Domain. Do
4 // whatever you want with it.
7 #ifndef ZLIB_ADAPTER_H
8 #define ZLIB_ADAPTER_H
11 #include "dsodefs.h"
13 #include <memory>
15 namespace gnash {
17 class IOChannel;
20 /// Code to wrap zlib compression/decompression around an IOChannel stream.
21 namespace zlib_adapter
23 // NOTE: these functions will return NULL if
24 // HAVE_ZLIB_H is not defined
26 /// \brief
27 /// Returns a read-only IOChannel stream that inflates the remaining
28 /// content of the given input stream, as you read data from the
29 /// new stream.
31 ///
32 DSOEXPORT std::auto_ptr<IOChannel>
33 make_inflater(std::auto_ptr<IOChannel> in);
35 } // namespace gnash.zlib_adapter
36 } // namespace gnash
39 #endif // ZLIB_ADAPTER_H
42 // Local Variables:
43 // mode: C++
44 // c-basic-offset: 8
45 // tab-width: 8
46 // indent-tabs-mode: t
47 // End: