satengine/SatServer/SystemState/src/std.cpp
changeset 46 2fa1fa551b0b
parent 42 35488577e233
child 48 78df25012fda
equal deleted inserted replaced
42:35488577e233 46:2fa1fa551b0b
     1 /*
       
     2 * Copyright (c) 2002-2005 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:  General functions
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include    <e32std.h>
       
    22 #include    "Panic.h"
       
    23 #include    "SatLog.h"
       
    24 
       
    25 // CONSTANTS
       
    26 _LIT( KSatSystemStatePanic, "SatSystemState" );
       
    27 
       
    28 void Panic( TSatSystemStatePanic aPanic )
       
    29     {
       
    30     LOG2( SIMPLE, "SATSYSTEMSTATE: Panic calling: %d", aPanic )
       
    31     User::Panic( KSatSystemStatePanic, aPanic );
       
    32     LOG( SIMPLE, "SATSYSTEMSTATE: Panic exiting" )
       
    33     }
       
    34 
       
    35 //  End of File