From 54490d51d5c6b0d794dcbad2d634d4c95fc25b6c Mon Sep 17 00:00:00 2001 From: Igor Pavlov Date: Mon, 15 Jun 2015 00:00:00 +0000 Subject: 15.05 --- CPP/7zip/Archive/Zip/ZipAddCommon.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CPP/7zip/Archive/Zip/ZipAddCommon.h') diff --git a/CPP/7zip/Archive/Zip/ZipAddCommon.h b/CPP/7zip/Archive/Zip/ZipAddCommon.h index e4c02db3..1e0c3bfa 100644 --- a/CPP/7zip/Archive/Zip/ZipAddCommon.h +++ b/CPP/7zip/Archive/Zip/ZipAddCommon.h @@ -26,6 +26,7 @@ struct CCompressingResult UInt32 CRC; UInt16 Method; Byte ExtractVersion; + bool FileTimeWasUsed; }; class CAddCommon @@ -43,11 +44,16 @@ class CAddCommon NCrypto::NZip::CEncoder *_filterSpec; NCrypto::NWzAes::CEncoder *_filterAesSpec; + Byte *_buf; + + HRESULT CalcStreamCRC(ISequentialInStream *inStream, UInt32 &resultCRC); public: CAddCommon(const CCompressionMethodMode &options); + ~CAddCommon(); HRESULT Compress( DECL_EXTERNAL_CODECS_LOC_VARS ISequentialInStream *inStream, IOutStream *outStream, + UInt32 fileTime, ICompressProgressInfo *progress, CCompressingResult &operationResult); }; -- cgit v1.2.3