#pragma interface
#endif
-#if wxUSE_ZLIB && wxUSE_STREAMS
+#include "wx/defs.h"
-#include <wx/stream.h>
+#if wxUSE_STREAMS && wxUSE_ZIPSTREAM && wxUSE_ZLIB
+
+#include "wx/stream.h"
//--------------------------------------------------------------------------------
// wxZipInputStream
~wxZipInputStream();
protected:
- virtual size_t StreamSize() const {return m_Size;}
+ virtual size_t GetSize() const {return m_Size;}
virtual size_t OnSysRead(void *buffer, size_t bufsize);
virtual off_t OnSysSeek(off_t seek, wxSeekMode mode);
virtual off_t OnSysTell() const {return m_Pos;}
};
-#endif // if use_zlib && use_streams
+#endif
+ // wxUSE_STREAMS && wxUSE_ZIPSTREAM && wxUSE_ZLIB
-#endif // __ZIPSTREAM_H__
+#endif
+ // __ZIPSTREAM_H__