]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/zipstream.h
converted to 16 colors
[wxWidgets.git] / include / wx / zipstream.h
index 6da057c473e06bf0cd7ed0adeeab13917b090018..ad1e680b32719d1d13ca8d7b71b889c0d52dcf0e 100644 (file)
 #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
@@ -41,16 +43,18 @@ class WXDLLEXPORT wxZipInputStream : public wxInputStream
         ~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__