Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
1 // Compress/CopyCoder.h
3 #ifndef __COMPRESS_COPYCODER_H
4 #define __COMPRESS_COPYCODER_H
6 #include "../../ICoder.h"
7 #include "../../../Common/MyCom.h"
9 namespace NCompress {
11 class CCopyCoder:
12 public ICompressCoder,
13 public CMyUnknownImp
14 {
15 Byte *_buffer;
16 public:
17 UInt64 TotalSize;
18 CCopyCoder(): TotalSize(0) , _buffer(0) {};
19 ~CCopyCoder();
21 MY_UNKNOWN_IMP
23 STDMETHOD(Code)(ISequentialInStream *inStream,
24 ISequentialOutStream *outStream,
25 const UInt64 *inSize, const UInt64 *outSize,
26 ICompressProgressInfo *progress);
27 };
29 }
31 #endif