imaging/imagingfws/BitmapTransform/src/BitmapTransformsMain.cpp
changeset 0 5752a19fdefe
equal deleted inserted replaced
-1:000000000000 0:5752a19fdefe
       
     1 // Copyright (c) 2001-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 //
       
    15 
       
    16 
       
    17 #include "BitmapTransformsMain.h"
       
    18 
       
    19 /**
       
    20 @internalTechnology
       
    21 
       
    22 Internal string constant that is passed through user panics
       
    23 and identifies the DLL
       
    24 */
       
    25 _LIT(KIclPanicCategory, "BitmapTransforms");
       
    26 
       
    27 /**
       
    28 @internalTechnology
       
    29 
       
    30 This function raises a panic
       
    31 
       
    32 @param	aError
       
    33 		one of the several panics codes that may be raised by this dll
       
    34 
       
    35 @panic	ENoSourceBitmap is raised when the src bitmap supplied to one of the api's
       
    36 		has not been created (i.e. has a null handle)
       
    37 @panic	ENoDestinationBitmap is raised when the destination bitmap supplied to one
       
    38 		of the api's has not been properly created
       
    39 @panic	EBitmapHasZeroDimension is raised when a bitmap has zero dimension
       
    40 */
       
    41 GLDEF_C void Panic(TBitmapTransformsPanic aError)
       
    42 	{
       
    43 	User::Panic(KIclPanicCategory, aError);
       
    44 	}
       
    45