mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 15:14:59 -06:00
Add other methods to compression dialog
Signed-off-by: SCell555 <kubci.rusnk645@gmail.com> Co-Authored-By: Tino Reichardt <milky-7zip@mcmilk.de>
This commit is contained in:
@@ -415,6 +415,7 @@ HRESULT CCodecs::LoadFormats()
|
||||
Func_GetHandlerProperty getProp = NULL;
|
||||
MY_GET_FUNC_LOC (getProp2, Func_GetHandlerProperty2, lib.GetProc("GetHandlerProperty2"));
|
||||
MY_GET_FUNC_LOC (getIsArc, Func_GetIsArc, lib.GetProc("GetIsArc"));
|
||||
MY_GET_FUNC_LOC (getFormatLevelMask, Func_GetFormatLevelMask, lib.GetProc("GetFormatLevelMask"));
|
||||
|
||||
UInt32 numFormats = 1;
|
||||
|
||||
@@ -473,7 +474,7 @@ HRESULT CCodecs::LoadFormats()
|
||||
item.Flags |= kArcFlagsPars[j + 1];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
{
|
||||
bool defined = false;
|
||||
RINOK(GetProp_UInt32(getProp, getProp2, i, NArchive::NHandlerPropID::kTimeFlags, item.TimeFlags, defined));
|
||||
@@ -498,6 +499,9 @@ HRESULT CCodecs::LoadFormats()
|
||||
if (getIsArc)
|
||||
getIsArc(i, &item.IsArcFunc);
|
||||
|
||||
if (getFormatLevelMask)
|
||||
getFormatLevelMask(i, &item.LevelsMask);
|
||||
|
||||
Formats.Add(item);
|
||||
}
|
||||
return S_OK;
|
||||
|
||||
Reference in New Issue
Block a user