phoneengine/phonecntfinder2/inc/phcntpanic.h
changeset 21 92ab7f8d0eab
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
       
     1 /*
       
     2 * Copyright (c) 2009 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:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef PHCNTPANIC
       
    19 #define PHCNTPANIC
       
    20 
       
    21 #include <e32std.h>
       
    22 
       
    23 enum TPhCntPanic 
       
    24     {
       
    25     EPhCntOperationAlreadyOngoing,
       
    26     EPhCntServiceRequestActiveAlready
       
    27     };
       
    28 
       
    29 /**
       
    30  * Panics the current thread with panic code.
       
    31  * @since S60 v3.1
       
    32  * @param aPanicCode Panic code used with panic.
       
    33  */
       
    34 void PhCntPanic( TPhCntPanic aPanicCode );
       
    35 
       
    36 
       
    37 #endif // PHCNTPANIC