view 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
line wrap: on
line source
1 // Archive/LzhIn.h
3 #ifndef __ARCHIVE_LZHIN_H
4 #define __ARCHIVE_LZHIN_H
6 #include "Common/MyCom.h"
7 #include "../../IStream.h"
9 #include "LzhItem.h"
11 namespace NArchive {
12 namespace NLzh {
14 class CInArchive
15 {
16 CMyComPtr<IInStream> m_Stream;
17 UInt64 m_Position;
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 };
27 }}
29 #endif