3 #ifndef __ZIPREGISTRY_H
4 #define __ZIPREGISTRY_H
6 #include "Common/MyString.h"
7 #include "Common/Types.h"
8 #include "ExtractMode.h"
14 NPathMode::EEnum PathMode;
15 NOverwriteMode::EEnum OverwriteMode;
21 namespace NCompression {
28 UString EncryptionMethod;
34 void ResetForLevelChange()
36 BlockLogSize = NumThreads = Level = Dictionary = Order = UInt32(-1);
38 // EncryptionMethod.Empty();
41 CFormatOptions() { ResetForLevelChange(); }
46 UStringVector HistoryArchives;
50 CObjectVector<CFormatOptions> FormatOptionsVector;
72 bool ForRemovableOnly;
73 void SetForRemovableOnlyDefault() { ForRemovableOnly = true; }
76 Mode = NMode::kSystem;
78 SetForRemovableOnlyDefault();
83 void SaveExtractionInfo(const NExtract::CInfo &info);
84 void ReadExtractionInfo(NExtract::CInfo &info);
86 void SaveCompressionInfo(const NCompression::CInfo &info);
87 void ReadCompressionInfo(NCompression::CInfo &info);
89 void SaveWorkDirInfo(const NWorkDir::CInfo &info);
90 void ReadWorkDirInfo(NWorkDir::CInfo &info);
92 void SaveCascadedMenu(bool enabled);
93 bool ReadCascadedMenu();
95 void SaveContextMenuStatus(UInt32 value);
96 bool ReadContextMenuStatus(UInt32 &value);