equal
deleted
inserted
replaced
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". |
15 // |
15 // |
16 // |
16 // |
17 |
17 |
18 #include "TE_wapthdrbase.h" |
18 #include "TE_wapthdrbase.h" |
19 |
19 |
|
20 #include "OstTraceDefinitions.h" |
|
21 #ifdef OST_TRACE_COMPILER_IN_USE |
|
22 #include "TE_wapthdrbaseTraces.h" |
|
23 #endif |
|
24 |
20 // WapProt code needs it |
25 // WapProt code needs it |
21 GLDEF_C void Panic(TWAPSMSPanic aPanic) |
26 GLDEF_C void Panic(TWAPSMSPanic aPanic) |
22 { |
27 { |
23 LOGWAPPROT2("WAPUPANIC %d", aPanic); |
28 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_BORDER, TE_WAPTHDRBASE_PANIC_1, "WAPUPANIC %d", aPanic); |
24 _LIT(KWapProtPanic, "WAPPROT"); |
29 _LIT(KWapProtPanic, "WAPPROT"); |
25 User::Panic(KWapProtPanic, aPanic); |
30 User::Panic(KWapProtPanic, aPanic); |
26 } |
31 } |
27 |
32 |
28 // implementation of helper functions |
33 // implementation of helper functions |