Mercurial > vba-linux
annotate src/win32/7zip/7z/CPP/7zip/Archive/Lzh/LzhIn.h @ 1:f9f4f1b99eed
importing src directory
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:27 -0600 |
parents | |
children |
rev | line source |
---|---|
rlm@1 | 1 // Archive/LzhIn.h |
rlm@1 | 2 |
rlm@1 | 3 #ifndef __ARCHIVE_LZHIN_H |
rlm@1 | 4 #define __ARCHIVE_LZHIN_H |
rlm@1 | 5 |
rlm@1 | 6 #include "Common/MyCom.h" |
rlm@1 | 7 #include "../../IStream.h" |
rlm@1 | 8 |
rlm@1 | 9 #include "LzhItem.h" |
rlm@1 | 10 |
rlm@1 | 11 namespace NArchive { |
rlm@1 | 12 namespace NLzh { |
rlm@1 | 13 |
rlm@1 | 14 class CInArchive |
rlm@1 | 15 { |
rlm@1 | 16 CMyComPtr<IInStream> m_Stream; |
rlm@1 | 17 UInt64 m_Position; |
rlm@1 | 18 |
rlm@1 | 19 HRESULT ReadBytes(void *data, UInt32 size, UInt32 &processedSize); |
rlm@1 | 20 HRESULT CheckReadBytes(void *data, UInt32 size); |
rlm@1 | 21 public: |
rlm@1 | 22 HRESULT Open(IInStream *inStream); |
rlm@1 | 23 HRESULT GetNextItem(bool &filled, CItemEx &itemInfo); |
rlm@1 | 24 HRESULT Skeep(UInt64 numBytes); |
rlm@1 | 25 }; |
rlm@1 | 26 |
rlm@1 | 27 }} |
rlm@1 | 28 |
rlm@1 | 29 #endif |