epoc32/include/icl/imagetransformpaniccodes.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     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 "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.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 /**
    19  @file
    20  @publishedAll
    21  @released
    22 */
    23 
    24 #ifndef __IMAGE_TRANSFORM_PANIC_CODES_H__
    25 #define __IMAGE_TRANSFORM_PANIC_CODES_H__
    26 
    27 /**
    28 @publishedAll
    29 @released
    30 
    31 Panic codes for CImageTransform & CImageTransformPlugin
    32 */
    33 enum TImageTransformPanic
    34 	{
    35 	/*
    36 	This panic is raised if one of the reserved virtual functions is called
    37 	*/
    38 	EReservedCall,
    39 	/*
    40 	This panic can be raised by, for example, 
    41 	calling Transform() without calling SetupL() first or
    42 	calling SetupL() without specifying the source & destination & dest size
    43 	*/
    44 	EIllegalCallSequence,
    45 	/*
    46 	This panic is raised if no source is defined
    47 	*/
    48 	EUndefinedSourceType,
    49 	/*
    50 	This panic is raised if no destination is defined
    51 	*/
    52 	EUndefinedDestType,
    53 	/*
    54 	This panic is raised if no destination size is defined
    55 	*/
    56 	EUndefinedDestSize,
    57 	/* 
    58 	This panic can be raised by, for example, 
    59 	calling SourceFilename() when source is a descriptor.
    60 	Likewise for SourceDescriptor(), DestFilename(), DestDescriptor()
    61 	*/
    62 	EImageWrongType,
    63 	/*
    64 	This panic is raised if a zero-length MIME type is given
    65 	*/
    66 	EUndefinedMIMEType,
    67 	/*
    68 	This panic is raised if KNullUid is given as the image type
    69 	and a non-null value for the subtype
    70 	*/
    71 	EIllegalImageSubType,
    72 	};
    73 
    74 
    75 #endif	// __IMAGE_TRANSFORM_PANIC_CODES_H__