michael@0: // Compress/CopyCoder.h michael@0: michael@0: #ifndef __COMPRESS_COPYCODER_H michael@0: #define __COMPRESS_COPYCODER_H michael@0: michael@0: #include "../../ICoder.h" michael@0: #include "../../../Common/MyCom.h" michael@0: michael@0: namespace NCompress { michael@0: michael@0: class CCopyCoder: michael@0: public ICompressCoder, michael@0: public CMyUnknownImp michael@0: { michael@0: Byte *_buffer; michael@0: public: michael@0: UInt64 TotalSize; michael@0: CCopyCoder(): TotalSize(0) , _buffer(0) {}; michael@0: ~CCopyCoder(); michael@0: michael@0: MY_UNKNOWN_IMP michael@0: michael@0: STDMETHOD(Code)(ISequentialInStream *inStream, michael@0: ISequentialOutStream *outStream, michael@0: const UInt64 *inSize, const UInt64 *outSize, michael@0: ICompressProgressInfo *progress); michael@0: }; michael@0: michael@0: } michael@0: michael@0: #endif