diff src/win32/7zip/7z/CPP/7zip/Archive/Zip/ZipCompressionMode.h @ 1:f9f4f1b99eed

importing src directory
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:31:27 -0600
parents
children
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/win32/7zip/7z/CPP/7zip/Archive/Zip/ZipCompressionMode.h	Sat Mar 03 10:31:27 2012 -0600
     1.3 @@ -0,0 +1,39 @@
     1.4 +// CompressionMode.h
     1.5 +
     1.6 +#ifndef __ZIP_COMPRESSIONMETHOD_H
     1.7 +#define __ZIP_COMPRESSIONMETHOD_H
     1.8 +
     1.9 +#include "../../../Common/MyString.h"
    1.10 +
    1.11 +namespace NArchive {
    1.12 +namespace NZip {
    1.13 +
    1.14 +struct CCompressionMethodMode
    1.15 +{
    1.16 +  CRecordVector<Byte> MethodSequence;
    1.17 +  UString MatchFinder;
    1.18 +  UInt32 Algo;
    1.19 +  UInt32 NumPasses;
    1.20 +  UInt32 NumFastBytes;
    1.21 +  bool NumMatchFinderCyclesDefined;
    1.22 +  UInt32 NumMatchFinderCycles;
    1.23 +  UInt32 DicSize;
    1.24 +  #ifdef COMPRESS_MT
    1.25 +  UInt32 NumThreads;
    1.26 +  #endif
    1.27 +  bool PasswordIsDefined;
    1.28 +  AString Password;
    1.29 +  bool IsAesMode;
    1.30 +  Byte AesKeyMode;
    1.31 +  
    1.32 +  CCompressionMethodMode():
    1.33 +      NumMatchFinderCyclesDefined(false),
    1.34 +      PasswordIsDefined(false),
    1.35 +      IsAesMode(false),
    1.36 +      AesKeyMode(3)
    1.37 +      {}
    1.38 +};
    1.39 +
    1.40 +}}
    1.41 +
    1.42 +#endif