smsprotocols/smsstack/gsmu/src/Gsmumain.cpp
branchRCL_3
changeset 19 630d2f34d719
parent 0 3553901f7fa8
child 20 07a122eea281
equal deleted inserted replaced
18:17af172ffa5f 19:630d2f34d719
     1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1999-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    17 
    17 
    18 /**
    18 /**
    19  @file
    19  @file
    20 */
    20 */
    21 
    21 
       
    22 
       
    23 #include "OstTraceDefinitions.h"
       
    24 #ifdef OST_TRACE_COMPILER_IN_USE
       
    25 #include "GsmumainTraces.h"
       
    26 #endif
       
    27 
    22 #include <e32std.h>
    28 #include <e32std.h>
    23 #include "Gsmumain.h"
    29 #include "Gsmumain.h"
    24 #include "Gsmuelem.h"
    30 #include "Gsmuelem.h"
    25 
    31 
    26 
    32 
    29  */
    35  */
    30 GLDEF_C void Panic(TGsmuPanic aPanic)
    36 GLDEF_C void Panic(TGsmuPanic aPanic)
    31     {
    37     {
    32     // Ignore in code coverage - panic method
    38     // Ignore in code coverage - panic method
    33     BULLSEYE_OFF    
    39     BULLSEYE_OFF    
    34     LOGGSMU2("GSMUPANIC %d", aPanic);
    40     OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_BORDER, GSMUMAIN_PANIC_1, "GSMUPANIC %d", aPanic);
    35     
    41     
    36     _LIT(KGsmuPanic, "GSMU");
    42     _LIT(KGsmuPanic, "GSMU");
    37     User::Panic(KGsmuPanic, aPanic);
    43     User::Panic(KGsmuPanic, aPanic);
    38     BULLSEYE_RESTORE
    44     BULLSEYE_RESTORE
    39     }
    45     }