Imported Upstream version 9.20
[platform/upstream/7zip.git] / CPP / 7zip / Archive / Zip / ZipCompressionMode.h
1 // CompressionMode.h\r
2 \r
3 #ifndef __ZIP_COMPRESSION_MODE_H\r
4 #define __ZIP_COMPRESSION_MODE_H\r
5 \r
6 #include "Common/MyString.h"\r
7 \r
8 namespace NArchive {\r
9 namespace NZip {\r
10 \r
11 struct CCompressionMethodMode\r
12 {\r
13   CRecordVector<Byte> MethodSequence;\r
14   UString MatchFinder;\r
15   UInt32 Algo;\r
16   UInt32 NumPasses;\r
17   UInt32 NumFastBytes;\r
18   bool NumMatchFinderCyclesDefined;\r
19   UInt32 NumMatchFinderCycles;\r
20   UInt32 DicSize;\r
21   UInt32 MemSize;\r
22   UInt32 Order;\r
23 \r
24   #ifndef _7ZIP_ST\r
25   UInt32 NumThreads;\r
26   #endif\r
27   bool PasswordIsDefined;\r
28   AString Password;\r
29   bool IsAesMode;\r
30   Byte AesKeyMode;\r
31   \r
32   CCompressionMethodMode():\r
33       NumMatchFinderCyclesDefined(false),\r
34       PasswordIsDefined(false),\r
35       IsAesMode(false),\r
36       AesKeyMode(3)\r
37       {}\r
38 };\r
39 \r
40 }}\r
41 \r
42 #endif\r