equal
deleted
inserted
replaced
1 // Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2003-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". |
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 |
|
26 // WapProt code needs it |
21 // WapProt code needs it |
27 GLDEF_C void Panic(TWAPSMSPanic aPanic) |
22 GLDEF_C void Panic(TWAPSMSPanic aPanic) |
28 { |
23 { |
29 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_BORDER, TE_WAPDGRMBASE_PANIC_1, "WAPUPANIC %d", aPanic); |
24 LOGWAPPROT2("WAPUPANIC %d", aPanic); |
30 _LIT(KWapProtPanic, "WAPPROT"); |
25 _LIT(KWapProtPanic, "WAPPROT"); |
31 User::Panic(KWapProtPanic, aPanic); |
26 User::Panic(KWapProtPanic, aPanic); |
32 } |
27 } |
33 |
28 |
34 // implementation of helper functions |
29 // implementation of helper functions |