Mercurial > vba-linux
view src/win32/7zip/7z/CPP/7zip/Compress/CopyCoder.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 // Compress/CopyCoder.h3 #ifndef __COMPRESS_COPY_CODER_H4 #define __COMPRESS_COPY_CODER_H6 #include "../../Common/MyCom.h"8 #include "../ICoder.h"10 namespace NCompress {12 class CCopyCoder:13 public ICompressCoder,14 public ICompressGetInStreamProcessedSize,15 public CMyUnknownImp16 {17 Byte *_buffer;18 public:19 UInt64 TotalSize;20 CCopyCoder(): TotalSize(0) , _buffer(0) {};21 ~CCopyCoder();23 MY_UNKNOWN_IMP1(ICompressGetInStreamProcessedSize)25 STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream,26 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress);27 STDMETHOD(GetInStreamProcessedSize)(UInt64 *value);28 };30 }32 #endif