epoc32/include/ezliberrorcodes.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
     1.1 --- a/epoc32/include/ezliberrorcodes.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/ezliberrorcodes.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,64 @@
     1.4 -ezliberrorcodes.h
     1.5 +// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +// All rights reserved.
     1.7 +// This component and the accompanying materials are made available
     1.8 +// 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.9 +// which accompanies this distribution, and is available
    1.10 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 +//
    1.12 +// Initial Contributors:
    1.13 +// Nokia Corporation - initial contribution.
    1.14 +//
    1.15 +// Contributors:
    1.16 +//
    1.17 +// Description:
    1.18 +// All the error codes returned by the Symbian OS wrapper over the zlib 
    1.19 +// library in EZLib component are defined here.
    1.20 +// 
    1.21 +//
    1.22 +
    1.23 +
    1.24 +
    1.25 +/**
    1.26 + @file
    1.27 + @publishedAll 
    1.28 + @released
    1.29 +*/
    1.30 +
    1.31 +#ifndef __EZLIBERRORCODES_H__
    1.32 +#define __EZLIBERRORCODES_H__
    1.33 +
    1.34 +////////////////////////////////////////////////////////////
    1.35 +// Error codes returned from the CEZDecompressor and CEZCompressor classes 
    1.36 +////////////////////////////////////////////////////////////
    1.37 +/** The Z_STREAM_ERROR zlib error code has been returned by an internal method 
    1.38 +	due to a stream error. */
    1.39 +const TInt KEZlibErrStream				= -11501;
    1.40 +/** The Z_DATA_ERROR zlib error code has been returned by an internal method 
    1.41 +	due to a data error. */
    1.42 +const TInt KEZlibErrData				= -11502;
    1.43 +/** The Z_BUF_ERROR zlib error code has been returned by an internal method 
    1.44 +	due to a buffer error. */
    1.45 +const TInt KEZlibErrBuf					= -11503;
    1.46 +/** The Z_VERSION_ERROR zlib error code has been returned by an internal method 
    1.47 +	due to a version error. */
    1.48 +const TInt KEZlibErrVersion				= -11504;
    1.49 +/** Unexpected ezlib error. */
    1.50 +const TInt KEZlibErrUnexpected			= -11505;
    1.51 +/** Returned by ::DeflateL() if deflation has already occured.  */
    1.52 +const TInt KEZlibErrDeflateTerminated	= -11506;
    1.53 +/** Returned by ::InflateL() if inflation has already occured. */
    1.54 +const TInt KEZlibErrInflateTerminated	= -11507;
    1.55 +/** An error has occured inflating the dictionary. */
    1.56 +const TInt KEZlibErrInflateDictionary	= -11508;
    1.57 +
    1.58 +////////////////////////////////////////////////////////////
    1.59 +// Error codes returned from GZip classes (eg EZGZipFile and CEZGZipToFile)
    1.60 +////////////////////////////////////////////////////////////
    1.61 +const TInt KEZlibErrNotGZipFile			= -11509;
    1.62 +const TInt KEZlibErrInvalidCompression	= -11510;
    1.63 +const TInt KEZlibErrBadGZipHeader		= -11511;
    1.64 +const TInt KEZlibErrBadGZipTrailer		= -11512;
    1.65 +const TInt KEZlibErrBadGZipCrc			= -11513;
    1.66 +
    1.67 +
    1.68 +#endif	// __EZLIBERRORCODES_H__