1.1 --- a/epoc32/include/ezdecompressor.h Wed Mar 31 12:27:01 2010 +0100
1.2 +++ b/epoc32/include/ezdecompressor.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -1,9 +1,9 @@
1.4 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 // All rights reserved.
1.6 // This component and the accompanying materials are made available
1.7 -// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
1.8 +// under the terms of "Eclipse Public License v1.0"
1.9 // which accompanies this distribution, and is available
1.10 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.11 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.12 //
1.13 // Initial Contributors:
1.14 // Nokia Corporation - initial contribution.
1.15 @@ -11,7 +11,6 @@
1.16 // Contributors:
1.17 //
1.18 // Description:
1.19 -// EZLib: DECOMPRESSOR.H
1.20 // Declaration for Decompression class
1.21 //
1.22 //
1.23 @@ -30,6 +29,13 @@
1.24 or can be done by repeated calls of the InflateL() function. The source data is de-compressed to the target buffer (both source
1.25 and target contained within the buffer manager argument).
1.26
1.27 +Note: In this version of the library a windowBits value of 8 is unsupported due to a problem with the window size being
1.28 +set to 256 bytes. Although a value of 8 will be accepted by the CEZCompressor constructors, as it is being changed
1.29 +internally by Zlib from 8 to 9, it will not be possible to use the same value for decompression. This is because the
1.30 +Zlib functions called by the CEZDecompressor constructors do not make the same change internally and as a result a
1.31 +KEZlibErrData is returned when calling InflateL(). It is therefore advised that for this version of the library
1.32 +windowBits of 9 is used in place of 8.
1.33 +
1.34 @publishedAll
1.35 @released
1.36 */
1.37 @@ -65,7 +71,7 @@
1.38 IMPORT_C TBool InflateL();
1.39
1.40 IMPORT_C static void DecompressL(TDes8 &aDestination, const TDesC8 &aSource);
1.41 -
1.42 +
1.43 private:
1.44 enum TInflationState
1.45 {
1.46 @@ -88,3 +94,5 @@
1.47 };
1.48
1.49 #endif
1.50 +
1.51 +