epoc32/include/icl/imagedisplaypaniccodes.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
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 Display Panic Codes
    15 // 
    16 //
    17 
    18 #ifndef __IMAGE_DISPLAY_PANIC_CODES_H__
    19 #define __IMAGE_DISPLAY_PANIC_CODES_H__
    20 
    21 /**
    22 @publishedAll
    23 @released
    24 
    25 Panic codes for CImageDisplay & CImageDisplayPlugin
    26 */
    27 enum TImageDisplayPanic
    28 	{
    29 	/**
    30 	This panic is raised if one of the reserved virtual functions is called
    31 	*/
    32 	EReservedCall=0,	
    33 	/**
    34 	This panic can be raised by, for example, 
    35 	calling PlayL() without calling SetupL() first or
    36 	calling SetupL() without specifying the source
    37 	*/
    38 	EIllegalCallSequence,		// 1
    39 	/**
    40 	This panic is raised if no source is defined
    41 	*/
    42 	EUndefinedSourceType,		// 2
    43 	/**
    44 	This panic is raised if no destination size is defined
    45 	*/
    46 	EUndefinedDestSize,			// 3
    47 	/** 
    48 	This panic can be raised by, for example, 
    49 	calling SourceFilename() when source is a descriptor.
    50 	*/
    51 	EImageWrongType,			// 4
    52 	/**
    53 	This panic is raised if a zero-length MIME type is given
    54 	*/
    55 	EUndefinedMIMEType,			// 5
    56 	/**
    57 	This panic is raised if KNullUid is given as the image type
    58 	and a non-null value for the subtype
    59 	*/
    60 	EIllegalImageSubType,		// 6
    61 	/**
    62 	This panic is raised if callback is still active
    63 	and Play() method is called again
    64 	*/
    65 	ECallbackStillActive,		// 7
    66 	};
    67 
    68 
    69 #endif	// __IMAGE_DISPLAY_PANIC_CODES_H__