taskswitcher/testapplications/generator/generator/common/inc/helloworldbasic.pan
changeset 117 c63ee96dbe5f
equal deleted inserted replaced
115:3ab5c078b490 117:c63ee96dbe5f
       
     1 /*
       
     2 * ==============================================================================
       
     3 *  Name        : helloworldbasic.pan
       
     4 *  Part of     : Helloworldbasic
       
     5 *  Interface   : 
       
     6 *  Description : 
       
     7 *  Version     : 
       
     8 *
       
     9 *  Copyright (c) 2005-2006 Nokia Corporation.
       
    10 *  This material, including documentation and any related 
       
    11 *  computer programs, is protected by copyright controlled by 
       
    12 *  Nokia Corporation.
       
    13 * ==============================================================================
       
    14 */
       
    15 
       
    16 #ifndef __HELLOWORLDBASIC_PAN__
       
    17 #define __HELLOWORLDBASIC_PAN__
       
    18 
       
    19 /** HelloWorldBasic application panic codes */
       
    20 enum THelloWorldBasicPanics
       
    21     {
       
    22     EHelloWorldBasicUi = 1
       
    23     // add further panics here
       
    24     };
       
    25 
       
    26 inline void Panic(THelloWorldBasicPanics aReason)
       
    27     {
       
    28     _LIT(applicationName,"HelloWorldBasic");
       
    29     User::Panic(applicationName, aReason);
       
    30     }
       
    31 
       
    32 #endif // __HELLOWORLDBASIC_PAN__