+ struct z_stream_s *m_deflate;
+ wxFileOffset m_pos;
+
+ DECLARE_NO_COPY_CLASS(wxZlibOutputStream)
+};
+
+class WXDLLIMPEXP_BASE wxZlibClassFactory: public wxFilterClassFactory
+{
+public:
+ wxZlibClassFactory();
+
+ wxFilterInputStream *NewStream(wxInputStream& stream) const
+ { return new wxZlibInputStream(stream); }
+ wxFilterOutputStream *NewStream(wxOutputStream& stream) const
+ { return new wxZlibOutputStream(stream, -1); }
+ wxFilterInputStream *NewStream(wxInputStream *stream) const
+ { return new wxZlibInputStream(stream); }
+ wxFilterOutputStream *NewStream(wxOutputStream *stream) const
+ { return new wxZlibOutputStream(stream, -1); }
+
+ const wxChar * const *GetProtocols(wxStreamProtocolType type
+ = wxSTREAM_PROTOCOL) const;
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxZlibClassFactory)
+};
+
+class WXDLLIMPEXP_BASE wxGzipClassFactory: public wxFilterClassFactory
+{
+public:
+ wxGzipClassFactory();
+
+ wxFilterInputStream *NewStream(wxInputStream& stream) const
+ { return new wxZlibInputStream(stream); }
+ wxFilterOutputStream *NewStream(wxOutputStream& stream) const
+ { return new wxZlibOutputStream(stream, -1); }
+ wxFilterInputStream *NewStream(wxInputStream *stream) const
+ { return new wxZlibInputStream(stream); }
+ wxFilterOutputStream *NewStream(wxOutputStream *stream) const
+ { return new wxZlibOutputStream(stream, -1); }
+
+ const wxChar * const *GetProtocols(wxStreamProtocolType type
+ = wxSTREAM_PROTOCOL) const;
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxGzipClassFactory)