1 // XzEncoder.h 2 3 #ifndef ZIP7_INC_XZ_ENCODER_H 4 #define ZIP7_INC_XZ_ENCODER_H 5 6 #include "../../../C/XzEnc.h" 7 8 #include "../../Common/MyCom.h" 9 10 #include "../ICoder.h" 11 12 namespace NCompress { 13 namespace NXz { 14 15 Z7_CLASS_IMP_COM_3( 16 CEncoder 17 , ICompressCoder 18 , ICompressSetCoderProperties 19 , ICompressSetCoderPropertiesOpt 20 ) 21 CXzEncHandle _encoder; 22 public: 23 CXzProps xzProps; 24 25 void InitCoderProps(); 26 HRESULT SetCheckSize(UInt32 checkSizeInBytes); 27 HRESULT SetCoderProp(PROPID propID, const PROPVARIANT &prop); 28 29 CEncoder(); 30 ~CEncoder(); 31 }; 32 33 }} 34 35 #endif 36