DirectPrint/DirectPrintApp/inc/directprintapp.pan
changeset 19 2275db202402
parent 11 613a5ff70823
equal deleted inserted replaced
2:acc370d7f2f6 19:2275db202402
       
     1 /*
       
     2 * Copyright (c) 2010 Kanrikogaku Kenkyusho, Ltd.
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "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 * Kanrikogaku Kenkyusho, Ltd. - Initial contribution
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __DIRECTPRINTAPP_PAN__
       
    19 #define __DIRECTPRINTAPP_PAN__
       
    20 
       
    21 #include <e32std.h>
       
    22 
       
    23 /** DirectPrintApp application panic codes */
       
    24 enum TDirectPrintAppPanics
       
    25 	{
       
    26 	EDirectPrintAppUi = 1,
       
    27 	EDirectPrintNoObserver,
       
    28 	EDirectPrintNullPointer,
       
    29 
       
    30 	EDirectPrintEnd
       
    31 	};
       
    32 
       
    33 inline void Panic(TDirectPrintAppPanics aReason)
       
    34 	{
       
    35 	_LIT(applicationName, "DirectPrintApp");
       
    36 	User::Panic(applicationName, aReason);
       
    37 	}
       
    38 
       
    39 #endif // __DIRECTPRINTAPP_PAN__