smsprotocols/smsstack/wapprot/test/TE_WAPDGRM/TE_wapdgrmbase.cpp
branchRCL_3
changeset 19 630d2f34d719
parent 0 3553901f7fa8
child 20 07a122eea281
equal deleted inserted replaced
18:17af172ffa5f 19:630d2f34d719
     1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2003-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".
    16 //
    16 //
    17 
    17 
    18 #include "TE_wapdgrmbase.h"
    18 #include "TE_wapdgrmbase.h"
    19 #include "smsstackutils.h"
    19 #include "smsstackutils.h"
    20 
    20 
       
    21 #include "OstTraceDefinitions.h"
       
    22 #ifdef OST_TRACE_COMPILER_IN_USE
       
    23 #include "TE_wapdgrmbaseTraces.h"
       
    24 #endif
       
    25 
    21 // WapProt code needs it
    26 // WapProt code needs it
    22 GLDEF_C void Panic(TWAPSMSPanic aPanic)
    27 GLDEF_C void Panic(TWAPSMSPanic aPanic)
    23 {
    28 {
    24 	LOGWAPPROT2("WAPUPANIC %d", aPanic);
    29 	OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_BORDER, TE_WAPDGRMBASE_PANIC_1, "WAPUPANIC %d", aPanic);
    25 	_LIT(KWapProtPanic, "WAPPROT");
    30 	_LIT(KWapProtPanic, "WAPPROT");
    26 	User::Panic(KWapProtPanic, aPanic);
    31 	User::Panic(KWapProtPanic, aPanic);
    27 }
    32 }
    28 
    33 
    29 // implementation of helper functions
    34 // implementation of helper functions