inc/NPR.pan
changeset 0 0049171ecffb
equal deleted inserted replaced
-1:000000000000 0:0049171ecffb
       
     1 /*
       
     2  ============================================================================
       
     3  Name	: NPR.pan
       
     4  Author	: John Kern
       
     5  
       
     6  Copyright (c) 2009 Symbian Foundation Ltd
       
     7  This component and the accompanying materials are made available
       
     8  under the terms of the License "Eclipse Public License v1.0"
       
     9  which accompanies this distribution, and is available
       
    10  at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
    11 
       
    12  Initial Contributors:
       
    13  Symbian Foundation Ltd - initial contribution.
       
    14  
       
    15  Contributors: John Kern
       
    16  Description : This file contains panic codes.
       
    17  ============================================================================
       
    18  */
       
    19 
       
    20 #ifndef __NPR_PAN__
       
    21 #define __NPR_PAN__
       
    22 
       
    23 /** NPR application panic codes */
       
    24 enum TNPRPanics
       
    25 	{
       
    26 	ENPRUi = 1
       
    27 	// add further panics here
       
    28 	};
       
    29 
       
    30 inline void Panic(TNPRPanics aReason)
       
    31 	{
       
    32 	_LIT(applicationName, "NPR");
       
    33 	User::Panic(applicationName, aReason);
       
    34 	}
       
    35 
       
    36 #endif // __NPR_PAN__