00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef TA_IOSTREAMZIP_H
00013 #define TA_IOSTREAMZIP_H
00014
00015 #ifndef TA_IOSTREAM_H
00016 #include "../Common/IOStream.h"
00017 #endif // TA_IOSTREAM_H
00018
00019 namespace TA
00020 {
00021
00022 struct IZipFileInputStream;
00023 class FileSystem;
00024
00025 class TACOMMON_CLASS IOStreamInputZip : public IOStreamInput
00026 {
00027 public:
00028 IOStreamInputZip();
00029 ~IOStreamInputZip();
00030
00031 void Finalise();
00032
00033 void StreamData(void* pData, int nSize);
00034 int GetPos();
00035 int GetSize();
00036
00037 private:
00038 friend class FileSystem;
00039 bool Initialise(IZipFileInputStream* pZipStream);
00040 String m_strName;
00041 IZipFileInputStream* m_pZipStream;
00042 };
00043
00044 }
00045
00046 #endif // TA_IOSTREAMZIP_H
© Copyright 2004-2006 TRUE AXIS PTY LTD Australia. All rights reserved.