smsprotocols/smsstack/gsmu/src/Gsmumain.cpp
branchRCL_3
changeset 20 07a122eea281
parent 19 630d2f34d719
equal deleted inserted replaced
19:630d2f34d719 20:07a122eea281
     1 // Copyright (c) 1999-2010 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1999-2009 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 
       
    28 #include <e32std.h>
    22 #include <e32std.h>
    29 #include "Gsmumain.h"
    23 #include "Gsmumain.h"
    30 #include "Gsmuelem.h"
    24 #include "Gsmuelem.h"
    31 
    25 
    32 
    26 
    35  */
    29  */
    36 GLDEF_C void Panic(TGsmuPanic aPanic)
    30 GLDEF_C void Panic(TGsmuPanic aPanic)
    37     {
    31     {
    38     // Ignore in code coverage - panic method
    32     // Ignore in code coverage - panic method
    39     BULLSEYE_OFF    
    33     BULLSEYE_OFF    
    40     OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_BORDER, GSMUMAIN_PANIC_1, "GSMUPANIC %d", aPanic);
    34     LOGGSMU2("GSMUPANIC %d", aPanic);
    41     
    35     
    42     _LIT(KGsmuPanic, "GSMU");
    36     _LIT(KGsmuPanic, "GSMU");
    43     User::Panic(KGsmuPanic, aPanic);
    37     User::Panic(KGsmuPanic, aPanic);
    44     BULLSEYE_RESTORE
    38     BULLSEYE_RESTORE
    45     }
    39     }