mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-13 22:11:37 -06:00
Update to 7-Zip Version 22.00
See: https://sourceforge.net/p/sevenzip/discussion/45797/thread/9c2d9061ce/
This commit is contained in:
@@ -10,6 +10,16 @@
|
||||
|
||||
#include "ExtractMode.h"
|
||||
|
||||
/*
|
||||
CBoolPair::Def in writing functions means:
|
||||
if ( CBoolPair::Def ), we write CBoolPair::Val
|
||||
if ( !CBoolPair::Def )
|
||||
{
|
||||
in NCompression functions we delete registry value
|
||||
in another functions we do nothing
|
||||
}
|
||||
*/
|
||||
|
||||
namespace NExtract
|
||||
{
|
||||
struct CInfo
|
||||
@@ -75,12 +85,29 @@ namespace NCompression
|
||||
UInt32 BlockLogSize;
|
||||
UInt32 NumThreads;
|
||||
|
||||
UInt32 TimePrec;
|
||||
CBoolPair MTime;
|
||||
CBoolPair ATime;
|
||||
CBoolPair CTime;
|
||||
CBoolPair SetArcMTime;
|
||||
|
||||
CSysString FormatID;
|
||||
UString Method;
|
||||
UString Options;
|
||||
UString EncryptionMethod;
|
||||
UString MemUse;
|
||||
|
||||
void Reset_TimePrec()
|
||||
{
|
||||
TimePrec = (UInt32)(Int32)-1;
|
||||
}
|
||||
|
||||
bool IsSet_TimePrec() const
|
||||
{
|
||||
return TimePrec != (UInt32)(Int32)-1;
|
||||
}
|
||||
|
||||
|
||||
void Reset_BlockLogSize()
|
||||
{
|
||||
BlockLogSize = (UInt32)(Int32)-1;
|
||||
@@ -93,7 +120,12 @@ namespace NCompression
|
||||
// Options.Empty();
|
||||
// EncryptionMethod.Empty();
|
||||
}
|
||||
CFormatOptions() { ResetForLevelChange(); }
|
||||
CFormatOptions()
|
||||
{
|
||||
// TimePrec = 0;
|
||||
Reset_TimePrec();
|
||||
ResetForLevelChange();
|
||||
}
|
||||
};
|
||||
|
||||
struct CInfo
|
||||
@@ -111,6 +143,8 @@ namespace NCompression
|
||||
CBoolPair HardLinks;
|
||||
CBoolPair SymLinks;
|
||||
|
||||
CBoolPair PreserveATime;
|
||||
|
||||
void Save() const;
|
||||
void Load();
|
||||
};
|
||||
@@ -152,9 +186,18 @@ struct CContextMenuInfo
|
||||
CBoolPair Cascaded;
|
||||
CBoolPair MenuIcons;
|
||||
CBoolPair ElimDup;
|
||||
|
||||
|
||||
bool Flags_Def;
|
||||
UInt32 Flags;
|
||||
UInt32 WriteZone;
|
||||
|
||||
/*
|
||||
CContextMenuInfo():
|
||||
Flags_Def(0),
|
||||
WriteZone((UInt32)(Int32)-1),
|
||||
Flags((UInt32)(Int32)-1)
|
||||
{}
|
||||
*/
|
||||
|
||||
void Save() const;
|
||||
void Load();
|
||||
|
||||
Reference in New Issue
Block a user