X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/75ed1d15d0d866cac78f7c0da176db8dd5288bc8..b5b49e42939fd7ef098241733648b534f71b526c:/include/wx/zstream.h?ds=inline diff --git a/include/wx/zstream.h b/include/wx/zstream.h index 1accc85d3c..3cac08f945 100644 --- a/include/wx/zstream.h +++ b/include/wx/zstream.h @@ -15,9 +15,13 @@ #pragma interface #endif -#include +#include "wx/defs.h" -class wxZlibInputStream: public wxFilterInputStream { +#if wxUSE_ZLIB && wxUSE_STREAMS + +#include "wx/stream.h" + +class WXDLLEXPORT wxZlibInputStream: public wxFilterInputStream { public: wxZlibInputStream(wxInputStream& stream); virtual ~wxZlibInputStream(); @@ -31,9 +35,9 @@ class wxZlibInputStream: public wxFilterInputStream { struct z_stream_s *m_inflate; }; -class wxZlibOutputStream: public wxFilterOutputStream { +class WXDLLEXPORT wxZlibOutputStream: public wxFilterOutputStream { public: - wxZlibOutputStream(wxOutputStream& stream); + wxZlibOutputStream(wxOutputStream& stream, int level = -1); virtual ~wxZlibOutputStream(); void Sync(); @@ -48,3 +52,8 @@ class wxZlibOutputStream: public wxFilterOutputStream { }; #endif + // wxUSE_ZLIB && wxUSE_STREAMS + +#endif + // _WX_WXZSTREAM_H__ +