photosgallery/slideshow/engine/inc/shwslideshowenginepanic.h
changeset 0 4e91876724a2
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     1 /*
       
     2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:    Panic codes for the slideshow engine
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __SHWSLIDESHOWENGINEPANIC_H__
       
    22 #define __SHWSLIDESHOWENGINEPANIC_H__
       
    23 
       
    24 //  Type definitions
       
    25 namespace NShwEngine
       
    26 	{
       
    27 	/**
       
    28 	 * Slideshow engine panic enumerations
       
    29 	 */
       
    30 	enum TShwEnginePanic
       
    31 		{
       
    32 		EVisualListFocusNotChanged,
       
    33 		EEngineStartLCalledInWrongState,
       
    34 		ENullHuiDisplay,
       
    35 		ENullVisualList,
       
    36 		ENullCurrentEffect,
       
    37 		EIncorrectEffectIndex, // need to call SetDefaultEffectL to get rid of this
       
    38 		EEngineFatalError // this means that engine got onto an non-recoverable state
       
    39 		};
       
    40 	
       
    41 	/**
       
    42 	 * This function is used to panic the slideshowengine
       
    43 	 * @param aPanic, the enumeration for the panic @see TShwEnginePanic
       
    44 	 */
       
    45 	extern void Panic( TShwEnginePanic aPanic );
       
    46 	}
       
    47 
       
    48 #endif  // __SHWSLIDESHOWENGINEPANIC_H__
       
    49 
       
    50