diff options
Diffstat (limited to 'zip/ZipArchive/BaseLibCompressor.h')
| -rw-r--r-- | zip/ZipArchive/BaseLibCompressor.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/zip/ZipArchive/BaseLibCompressor.h b/zip/ZipArchive/BaseLibCompressor.h index 4bda925..36c3cba 100644 --- a/zip/ZipArchive/BaseLibCompressor.h +++ b/zip/ZipArchive/BaseLibCompressor.h @@ -1,6 +1,6 @@ ////////////////////////////////////////////////////////////////////////////////
-// This source file is part of the ZipArchive library source distribution and
-// is Copyrighted 2000 - 2007 by Artpol Software - Tadeusz Dracz
+// This source file is part of the ZipArchive Library Open Source distribution
+// and is Copyrighted 2000 - 2022 by Artpol Software - Tadeusz Dracz
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -9,7 +9,7 @@ //
// For the licensing details refer to the License.txt file.
//
-// Web Site: http://www.artpol-software.com
+// Web Site: https://www.artpol-software.com
////////////////////////////////////////////////////////////////////////////////
/**
@@ -70,6 +70,7 @@ public: CBaseLibCompressor(CZipStorage* pStorage)
:CZipCompressor(pStorage)
{
+ m_bDecompressionDone = false;
}
void InitDecompression(CZipFileHeader* pFile, CZipCryptograph* pCryptograph)
@@ -133,12 +134,12 @@ protected: /**
Frees the memory allocated by an external library that hasn't been freed
- due to an error in the library (usually never happens).
+ due to an error in the library (it should never happen).
*/
void EmptyPtrList();
/**
- Checks, if \a iErr value is an error code.
+ Checks whether \a iErr value is an error code.
\param iErr
The code to check.
@@ -149,13 +150,11 @@ protected: virtual bool IsCodeErrorOK(int iErr) const = 0;
/**
- Checks, if \a iErr value is an error code and throws an exception, if it is.
+ Checks whether \a iErr value is an error code and throws an exception if it is.
\param iErr
The error code.
- \note
- Throws exceptions.
*/
void CheckForError(int iErr)
{
@@ -167,14 +166,14 @@ protected: Sets an address of internal data used in ZipArchive Library memory allocation and deallocation methods.
\param opaque
- Receives an address on the internal data.
+ Receives an address of the internal data.
\param pOptions
The current decompressor options.
*/
void SetOpaque(void** opaque, const COptions* pOptions);
/**
- Signalizes, that the decompression process reached the end of the compressed data. It is internally set by derived classes.
+ Signalizes that the decompression process reached the end of the compressed data. It is internally set by derived classes.
*/
bool m_bDecompressionDone;
private:
|
