rlm@1: // CompressionMode.h rlm@1: rlm@1: #ifndef __ZIP_COMPRESSIONMETHOD_H rlm@1: #define __ZIP_COMPRESSIONMETHOD_H rlm@1: rlm@1: #include "../../../Common/MyString.h" rlm@1: rlm@1: namespace NArchive { rlm@1: namespace NZip { rlm@1: rlm@1: struct CCompressionMethodMode rlm@1: { rlm@1: CRecordVector MethodSequence; rlm@1: UString MatchFinder; rlm@1: UInt32 Algo; rlm@1: UInt32 NumPasses; rlm@1: UInt32 NumFastBytes; rlm@1: bool NumMatchFinderCyclesDefined; rlm@1: UInt32 NumMatchFinderCycles; rlm@1: UInt32 DicSize; rlm@1: #ifdef COMPRESS_MT rlm@1: UInt32 NumThreads; rlm@1: #endif rlm@1: bool PasswordIsDefined; rlm@1: AString Password; rlm@1: bool IsAesMode; rlm@1: Byte AesKeyMode; rlm@1: rlm@1: CCompressionMethodMode(): rlm@1: NumMatchFinderCyclesDefined(false), rlm@1: PasswordIsDefined(false), rlm@1: IsAesMode(false), rlm@1: AesKeyMode(3) rlm@1: {} rlm@1: }; rlm@1: rlm@1: }} rlm@1: rlm@1: #endif