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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // Image Display Panic Codes
18 #ifndef __IMAGE_DISPLAY_PANIC_CODES_H__
19 #define __IMAGE_DISPLAY_PANIC_CODES_H__
25 Panic codes for CImageDisplay & CImageDisplayPlugin
27 enum TImageDisplayPanic
30 This panic is raised if one of the reserved virtual functions is called
34 This panic can be raised by, for example,
35 calling PlayL() without calling SetupL() first or
36 calling SetupL() without specifying the source
38 EIllegalCallSequence, // 1
40 This panic is raised if no source is defined
42 EUndefinedSourceType, // 2
44 This panic is raised if no destination size is defined
46 EUndefinedDestSize, // 3
48 This panic can be raised by, for example,
49 calling SourceFilename() when source is a descriptor.
53 This panic is raised if a zero-length MIME type is given
55 EUndefinedMIMEType, // 5
57 This panic is raised if KNullUid is given as the image type
58 and a non-null value for the subtype
60 EIllegalImageSubType, // 6
62 This panic is raised if callback is still active
63 and Play() method is called again
65 ECallbackStillActive, // 7
69 #endif // __IMAGE_DISPLAY_PANIC_CODES_H__