mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-10 20:07:05 -06:00
Update to 7-Zip Version 22.00
See: https://sourceforge.net/p/sevenzip/discussion/45797/thread/9c2d9061ce/
This commit is contained in:
@@ -14,21 +14,38 @@ namespace NTar {
|
||||
|
||||
class COutArchive
|
||||
{
|
||||
CMyComPtr<ISequentialOutStream> m_Stream;
|
||||
CMyComPtr<ISequentialOutStream> Stream;
|
||||
|
||||
AString Glob_Name;
|
||||
AString Prefix;
|
||||
|
||||
HRESULT WriteHeaderReal(const CItem &item, bool isPax = false
|
||||
// , bool zero_PackSize = false
|
||||
// , bool zero_MTime = false
|
||||
);
|
||||
|
||||
HRESULT Write_Data(const void *data, unsigned size);
|
||||
HRESULT Write_Data_And_Residual(const void *data, unsigned size);
|
||||
|
||||
HRESULT WriteBytes(const void *data, unsigned size);
|
||||
HRESULT WriteHeaderReal(const CItem &item);
|
||||
public:
|
||||
UInt64 Pos;
|
||||
|
||||
bool IsPosixMode;
|
||||
// bool IsPrefixAllowed; // it's used only if (IsPosixMode == true)
|
||||
CTimeOptions TimeOptions;
|
||||
|
||||
void Create(ISequentialOutStream *outStream)
|
||||
{
|
||||
m_Stream = outStream;
|
||||
Stream = outStream;
|
||||
}
|
||||
|
||||
HRESULT WriteHeader(const CItem &item);
|
||||
HRESULT FillDataResidual(UInt64 dataSize);
|
||||
HRESULT Write_AfterDataResidual(UInt64 dataSize);
|
||||
HRESULT WriteFinishHeader();
|
||||
|
||||
COutArchive():
|
||||
Pos(0),
|
||||
IsPosixMode(false)
|
||||
// , IsPrefixAllowed(true)
|
||||
{}
|
||||
};
|
||||
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user