eventsui/eventshandlerui/eventshandlerserver/inc/evthandlerserverpanic.h
branchRCL_3
changeset 17 1fc85118c3ae
parent 16 8173571d354e
child 18 870918037e16
equal deleted inserted replaced
16:8173571d354e 17:1fc85118c3ae
     1 /*
       
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "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 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  panic definition for Events Handler Server
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <e32cmn.h>
       
    20 
       
    21 enum TEvtHandlerServerPanic
       
    22 	{
       
    23 	EPanicBadDescriptor,
       
    24 	EPanicIllegalFunction,
       
    25 	EPanicAlreadyReceiving
       
    26 	};
       
    27 
       
    28 // ---------------------------------------------------------------------------
       
    29 // PanicClient()
       
    30 // ---------------------------------------------------------------------------
       
    31 //
       
    32 void PanicClient( const RMessagePtr2& aMessage, TEvtHandlerServerPanic aPanic )
       
    33 /*
       
    34  * RMessage::Panic() also completes the message. This is:
       
    35  * (a) important for efficient cleanup within the kernel
       
    36  * (b) a problem if the message is completed a second time
       
    37  */
       
    38 	{
       
    39 	_LIT( KPanic,"evthandlerserver" );
       
    40 	aMessage.Panic( KPanic, aPanic );
       
    41 	}
       
    42 	
       
    43 // end of file