comparison 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
comparison
equal deleted inserted replaced
0:8ced16adf2e1 1:f9f4f1b99eed
1 // Archive/LzhIn.h
2
3 #ifndef __ARCHIVE_LZHIN_H
4 #define __ARCHIVE_LZHIN_H
5
6 #include "Common/MyCom.h"
7 #include "../../IStream.h"
8
9 #include "LzhItem.h"
10
11 namespace NArchive {
12 namespace NLzh {
13
14 class CInArchive
15 {
16 CMyComPtr<IInStream> m_Stream;
17 UInt64 m_Position;
18
19 HRESULT ReadBytes(void *data, UInt32 size, UInt32 &processedSize);
20 HRESULT CheckReadBytes(void *data, UInt32 size);
21 public:
22 HRESULT Open(IInStream *inStream);
23 HRESULT GetNextItem(bool &filled, CItemEx &itemInfo);
24 HRESULT Skeep(UInt64 numBytes);
25 };
26
27 }}
28
29 #endif