1.1 --- a/epoc32/include/icl/imagetransformpaniccodes.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/icl/imagetransformpaniccodes.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,74 @@
1.4 -imagetransformpaniccodes.h
1.5 +// Copyright (c) 2004-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 +// Image Transform Panic Codes
1.19 +//
1.20 +//
1.21 +/**
1.22 + @file
1.23 + @publishedAll
1.24 + @released
1.25 +*/
1.26 +
1.27 +#ifndef __IMAGE_TRANSFORM_PANIC_CODES_H__
1.28 +#define __IMAGE_TRANSFORM_PANIC_CODES_H__
1.29 +
1.30 +/**
1.31 +@publishedAll
1.32 +@released
1.33 +
1.34 +Panic codes for CImageTransform & CImageTransformPlugin
1.35 +*/
1.36 +enum TImageTransformPanic
1.37 + {
1.38 + /*
1.39 + This panic is raised if one of the reserved virtual functions is called
1.40 + */
1.41 + EReservedCall,
1.42 + /*
1.43 + This panic can be raised by, for example,
1.44 + calling Transform() without calling SetupL() first or
1.45 + calling SetupL() without specifying the source & destination & dest size
1.46 + */
1.47 + EIllegalCallSequence,
1.48 + /*
1.49 + This panic is raised if no source is defined
1.50 + */
1.51 + EUndefinedSourceType,
1.52 + /*
1.53 + This panic is raised if no destination is defined
1.54 + */
1.55 + EUndefinedDestType,
1.56 + /*
1.57 + This panic is raised if no destination size is defined
1.58 + */
1.59 + EUndefinedDestSize,
1.60 + /*
1.61 + This panic can be raised by, for example,
1.62 + calling SourceFilename() when source is a descriptor.
1.63 + Likewise for SourceDescriptor(), DestFilename(), DestDescriptor()
1.64 + */
1.65 + EImageWrongType,
1.66 + /*
1.67 + This panic is raised if a zero-length MIME type is given
1.68 + */
1.69 + EUndefinedMIMEType,
1.70 + /*
1.71 + This panic is raised if KNullUid is given as the image type
1.72 + and a non-null value for the subtype
1.73 + */
1.74 + EIllegalImageSubType,
1.75 + };
1.76 +
1.77 +
1.78 +#endif // __IMAGE_TRANSFORM_PANIC_CODES_H__