This commit is contained in:
Igor Pavlov
2023-12-22 17:17:05 +00:00
committed by Kornel
parent ec44a8a070
commit a36c48cece
954 changed files with 42199 additions and 25482 deletions

View File

@@ -1,7 +1,7 @@
// ZipRegistry.h
#ifndef __ZIP_REGISTRY_H
#define __ZIP_REGISTRY_H
#ifndef ZIP7_INC_ZIP_REGISTRY_H
#define ZIP7_INC_ZIP_REGISTRY_H
#include "../../../Common/MyTypes.h"
#include "../../../Common/MyString.h"
@@ -81,6 +81,7 @@ namespace NCompression
{
UInt32 Level;
UInt32 Dictionary;
// UInt32 DictionaryChain;
UInt32 Order;
UInt32 BlockLogSize;
UInt32 NumThreads;
@@ -116,6 +117,7 @@ namespace NCompression
void ResetForLevelChange()
{
BlockLogSize = NumThreads = Level = Dictionary = Order = (UInt32)(Int32)-1;
// DictionaryChain = (UInt32)(Int32)-1;
Method.Empty();
// Options.Empty();
// EncryptionMethod.Empty();
@@ -133,10 +135,6 @@ namespace NCompression
UInt32 Level;
bool ShowPassword;
bool EncryptHeaders;
UString ArcType;
UStringVector ArcPaths;
CObjectVector<CFormatOptions> Formats;
CBoolPair NtSecurity;
CBoolPair AltStreams;
@@ -145,6 +143,11 @@ namespace NCompression
CBoolPair PreserveATime;
UString ArcType;
UStringVector ArcPaths;
CObjectVector<CFormatOptions> Formats;
void Save() const;
void Load();
};
@@ -164,8 +167,8 @@ namespace NWorkDir
struct CInfo
{
NMode::EEnum Mode;
FString Path;
bool ForRemovableOnly;
FString Path;
void SetForRemovableOnlyDefault() { ForRemovableOnly = true; }
void SetDefault()