1.1 --- a/epoc32/include/ezcompressor.h Wed Mar 31 12:27:01 2010 +0100
1.2 +++ b/epoc32/include/ezcompressor.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: COMPRESSOR.H
1.20 // Declaration for Compression class
1.21 //
1.22 //
1.23 @@ -30,6 +29,13 @@
1.24 of the DeflateL() function. The source data is compressed to the target buffer (both source and target contained within
1.25 the buffer manager argument), and various other arguments distinguish the different compression settings.
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 @@ -42,10 +48,10 @@
1.38 /** Use for normal data */
1.39 EDefaultStrategy = Z_DEFAULT_STRATEGY,
1.40
1.41 - /** Force Huffman encoding only (no string match) */
1.42 + /** Use for data produced by a filter (or predictor) */
1.43 EFiltered = Z_FILTERED,
1.44
1.45 - /** Use for data produced by a filter (or predictor) */
1.46 + /** Force Huffman encoding only (no string match) */
1.47 EHuffmanOnly = Z_HUFFMAN_ONLY
1.48 };
1.49
1.50 @@ -117,3 +123,5 @@
1.51 };
1.52
1.53 #endif
1.54 +
1.55 +