smsprotocols/smsstack/gsmu/src/Gsmumain.cpp
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
child 42 3adadc800673
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 1999-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 // Implements the GSMU panic function and E32Dll
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20 */
       
    21 
       
    22 #include <e32std.h>
       
    23 #include "Gsmumain.h"
       
    24 #include "Gsmuelem.h"
       
    25 
       
    26 
       
    27 /**
       
    28  *  panic in the GSMU
       
    29  */
       
    30 GLDEF_C void Panic(TGsmuPanic aPanic)
       
    31     {
       
    32     // Ignore in code coverage - panic method
       
    33     BULLSEYE_OFF    
       
    34     LOGGSMU2("GSMUPANIC %d", aPanic);
       
    35     
       
    36     _LIT(KGsmuPanic, "GSMU");
       
    37     User::Panic(KGsmuPanic, aPanic);
       
    38     BULLSEYE_RESTORE
       
    39     }