applayerprotocols/httpexamples/uaprof/inc/uaprofpanic.h
changeset 0 b16258d2340f
equal deleted inserted replaced
-1:000000000000 0:b16258d2340f
       
     1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __UAPROFPANIC_H__
       
    17 #define __UAPROFPANIC_H__
       
    18 
       
    19 // System Includes
       
    20 #include <e32std.h>
       
    21 
       
    22 
       
    23 class UAProfPanic
       
    24 	{
       
    25 public:
       
    26 	enum TUAProfPanic
       
    27 		{
       
    28 		EInvalidEventReceived
       
    29 		};
       
    30 	inline static void Panic(TUAProfPanic aPanic);
       
    31 	};
       
    32 	
       
    33 inline void UAProfPanic::Panic(UAProfPanic::TUAProfPanic aPanic)
       
    34 	{
       
    35 	_LIT(KUAProfPanic, "UAProf");
       
    36 	User::Panic(KUAProfPanic, aPanic);
       
    37 	}
       
    38 	
       
    39 #endif // __UAPROFPANIC_H__