Gnash  0.8.11dev
zlib_adapter.h
Go to the documentation of this file.
1 // zlib_adapter.h -- Thatcher Ulrich 2003
2 
3 // This source code has been donated to the Public Domain. Do
4 // whatever you want with it.
5 
6 
7 #ifndef ZLIB_ADAPTER_H
8 #define ZLIB_ADAPTER_H
9 
10 
11 #include "dsodefs.h"
12 
13 #include <memory>
14 
15 namespace gnash {
16 
17 class IOChannel;
18 
19 
21 namespace zlib_adapter
22 {
23  // NOTE: these functions will return NULL if
24  // HAVE_ZLIB_H is not defined
25 
30  //
32  DSOEXPORT std::unique_ptr<IOChannel>
33  make_inflater(std::unique_ptr<IOChannel> in);
34 
35 } // namespace gnash.zlib_adapter
36 } // namespace gnash
37 
38 
39 #endif // ZLIB_ADAPTER_H
40 
41 
42 // Local Variables:
43 // mode: C++
44 // c-basic-offset: 8
45 // tab-width: 8
46 // indent-tabs-mode: t
47 // End:
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
std::unique_ptr< IOChannel > make_inflater(std::unique_ptr< IOChannel >)
Returns a read-only IOChannel stream that inflates the remaining content of the given input stream...
Definition: zlib_adapter.cpp:28
#define DSOEXPORT
Definition: dsodefs.h:55