smsprotocols/smsstack/wapprot/Src/wapmain.cpp
branchRCL_3
changeset 65 630d2f34d719
parent 0 3553901f7fa8
child 66 07a122eea281
equal deleted inserted replaced
61:17af172ffa5f 65:630d2f34d719
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1997-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".
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    12 //
    12 //
    13 // Description:
    13 // Description:
    14 //
    14 //
       
    15 
       
    16 #include "OstTraceDefinitions.h"
       
    17 #ifdef OST_TRACE_COMPILER_IN_USE
       
    18 #include "wapmainTraces.h"
       
    19 #endif
       
    20 
    15 #include "wapmain.h"
    21 #include "wapmain.h"
    16 #include <e32std.h>
    22 #include <e32std.h>
    17 #include "smsstacklog.h"
    23 #include "smsstacklog.h"
    18 
    24 
    19 void Panic(TWAPSMSPanic aPanic)
    25 void Panic(TWAPSMSPanic aPanic)
    20      {
    26      {
    21      // Ignore in code coverag - panic method
    27      // Ignore in code coverag - panic method
    22      BULLSEYE_OFF
    28      BULLSEYE_OFF
    23      LOGWAPPROT2("WAPUPANIC %d", aPanic);
    29      OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, WAPMAIN_PANIC_1, "WAPUPANIC %d", aPanic);
    24      _LIT(KWapProtPanic, "WAPPROT");
    30      _LIT(KWapProtPanic, "WAPPROT");
    25      User::Panic(KWapProtPanic, aPanic);
    31      User::Panic(KWapProtPanic, aPanic);
    26      BULLSEYE_RESTORE
    32      BULLSEYE_RESTORE
    27      }
    33      }