diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/win32/7zip/7z/CPP/7zip/Archive/Lzh/LzhIn.h	Sat Mar 03 10:31:27 2012 -0600
     1.3 @@ -0,0 +1,29 @@
     1.4 +// Archive/LzhIn.h
     1.5 +
     1.6 +#ifndef __ARCHIVE_LZHIN_H
     1.7 +#define __ARCHIVE_LZHIN_H
     1.8 +
     1.9 +#include "Common/MyCom.h"
    1.10 +#include "../../IStream.h"
    1.11 +
    1.12 +#include "LzhItem.h"
    1.13 +
    1.14 +namespace NArchive {
    1.15 +namespace NLzh {
    1.16 +  
    1.17 +class CInArchive
    1.18 +{
    1.19 +  CMyComPtr<IInStream> m_Stream;
    1.20 +  UInt64 m_Position;
    1.21 +  
    1.22 +  HRESULT ReadBytes(void *data, UInt32 size, UInt32 &processedSize);
    1.23 +  HRESULT CheckReadBytes(void *data, UInt32 size);
    1.24 +public:
    1.25 +  HRESULT Open(IInStream *inStream);
    1.26 +  HRESULT GetNextItem(bool &filled, CItemEx &itemInfo);
    1.27 +  HRESULT Skeep(UInt64 numBytes);
    1.28 +};
    1.29 +  
    1.30 +}}
    1.31 +  
    1.32 +#endif