epoc32/include/icl/imagetransformpaniccodes.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // 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
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // Image Transform Panic Codes
    15 // 
    16 //
    17 /**
    18  @file
    19  @publishedAll
    20  @released
    21 */
    22 
    23 #ifndef __IMAGE_TRANSFORM_PANIC_CODES_H__
    24 #define __IMAGE_TRANSFORM_PANIC_CODES_H__
    25 
    26 /**
    27 @publishedAll
    28 @released
    29 
    30 Panic codes for CImageTransform & CImageTransformPlugin
    31 */
    32 enum TImageTransformPanic
    33 	{
    34 	/*
    35 	This panic is raised if one of the reserved virtual functions is called
    36 	*/
    37 	EReservedCall,
    38 	/*
    39 	This panic can be raised by, for example, 
    40 	calling Transform() without calling SetupL() first or
    41 	calling SetupL() without specifying the source & destination & dest size
    42 	*/
    43 	EIllegalCallSequence,
    44 	/*
    45 	This panic is raised if no source is defined
    46 	*/
    47 	EUndefinedSourceType,
    48 	/*
    49 	This panic is raised if no destination is defined
    50 	*/
    51 	EUndefinedDestType,
    52 	/*
    53 	This panic is raised if no destination size is defined
    54 	*/
    55 	EUndefinedDestSize,
    56 	/* 
    57 	This panic can be raised by, for example, 
    58 	calling SourceFilename() when source is a descriptor.
    59 	Likewise for SourceDescriptor(), DestFilename(), DestDescriptor()
    60 	*/
    61 	EImageWrongType,
    62 	/*
    63 	This panic is raised if a zero-length MIME type is given
    64 	*/
    65 	EUndefinedMIMEType,
    66 	/*
    67 	This panic is raised if KNullUid is given as the image type
    68 	and a non-null value for the subtype
    69 	*/
    70 	EIllegalImageSubType,
    71 	};
    72 
    73 
    74 #endif	// __IMAGE_TRANSFORM_PANIC_CODES_H__