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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // Image Transform Panic Codes
24 #ifndef __IMAGE_TRANSFORM_PANIC_CODES_H__
25 #define __IMAGE_TRANSFORM_PANIC_CODES_H__
31 Panic codes for CImageTransform & CImageTransformPlugin
33 enum TImageTransformPanic
36 This panic is raised if one of the reserved virtual functions is called
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
46 This panic is raised if no source is defined
50 This panic is raised if no destination is defined
54 This panic is raised if no destination size is defined
58 This panic can be raised by, for example,
59 calling SourceFilename() when source is a descriptor.
60 Likewise for SourceDescriptor(), DestFilename(), DestDescriptor()
64 This panic is raised if a zero-length MIME type is given
68 This panic is raised if KNullUid is given as the image type
69 and a non-null value for the subtype
75 #endif // __IMAGE_TRANSFORM_PANIC_CODES_H__