testexecfw/useremul/inc/UserEmulator.pan
changeset 0 3e07fef1e154
equal deleted inserted replaced
-1:000000000000 0:3e07fef1e154
       
     1 /*------------------------------------------------------------------
       
     2  -
       
     3  * Software Name : UserEmulator
       
     4  * Version       : v4.2.1309
       
     5  * 
       
     6  * Copyright (c) 2009 France Telecom. All rights reserved.
       
     7  * This software is distributed under the License 
       
     8  * "Eclipse Public License - v 1.0" the text of which is available
       
     9  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
    10  *
       
    11  * Initial Contributors:
       
    12  * France Telecom 
       
    13  *
       
    14  * Contributors:
       
    15  *------------------------------------------------------------------
       
    16  -
       
    17  * File Name: UserEmulator.pan
       
    18  * 
       
    19  * Created: 13/08/2009
       
    20  * Author(s): Marcell Kiss, Reshma Sandeep Das
       
    21  *   
       
    22  * Description:
       
    23  * This file contains panic codes
       
    24  *------------------------------------------------------------------
       
    25  -
       
    26  *
       
    27  */
       
    28 
       
    29 #ifndef USEREMULATOR_PAN__
       
    30 #define USEREMULATOR_PAN__
       
    31 
       
    32 /** 
       
    33  * UserEmulator application panic codes 
       
    34  */
       
    35 
       
    36 enum TUserEmulatorPanics
       
    37 	{
       
    38 	EUserEmulatorUi = 1
       
    39 	// add further panics here
       
    40 	};
       
    41 
       
    42 inline void Panic(TUserEmulatorPanics aReason)
       
    43 	{
       
    44 	_LIT(KAPPLICATIONNAME, "UserEmulator");
       
    45 	User::Panic(KAPPLICATIONNAME, aReason);
       
    46 	}
       
    47 
       
    48 #endif // __USEREMULATOR_PAN__