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". |
18 /** |
18 /** |
19 @file Nd_dll.cpp |
19 @file Nd_dll.cpp |
20 @internalComponent |
20 @internalComponent |
21 */ |
21 */ |
22 |
22 |
|
23 |
|
24 #include "OstTraceDefinitions.h" |
|
25 #ifdef OST_TRACE_COMPILER_IN_USE |
|
26 #include "ND_DLLTraces.h" |
|
27 #endif |
|
28 |
23 #include <e32std.h> |
29 #include <e32std.h> |
24 #include <cdbcols.h> |
30 #include <cdbcols.h> |
25 #include "ND_STD.H" |
31 #include "ND_STD.H" |
26 #include "SLOGGER.H" |
|
27 #include "ND_DIRCT.H" |
32 #include "ND_DIRCT.H" |
28 #include "ND_DLIN.H" |
33 #include "ND_DLIN.H" |
29 #include "ND_DLUP.H" |
34 #include "ND_DLUP.H" |
30 #include "ND_DBACC.H" |
35 #include "ND_DBACC.H" |
31 |
36 |
37 |
42 |
38 @param aPanic is the netdial panic which should be used in User::Panic(). |
43 @param aPanic is the netdial panic which should be used in User::Panic(). |
39 */ |
44 */ |
40 GLDEF_C void NetDialPanic(TNetDialPanic aPanic) |
45 GLDEF_C void NetDialPanic(TNetDialPanic aPanic) |
41 { |
46 { |
42 __FLOG_STMT(_LIT8(logString,"NetDial Panic %d");) |
47 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_BORDER, NETDIALPANIC_1, _"NetDial Panic %d",aPanic); |
43 __FLOG_STATIC1(KNetDialLogFolder(),KNetDialLogFile(),TRefByValue<const TDesC8>(logString()),aPanic); |
|
44 _LIT(KNetDialPanic,"NetDial"); |
48 _LIT(KNetDialPanic,"NetDial"); |
45 User::Panic(KNetDialPanic,aPanic); |
49 User::Panic(KNetDialPanic,aPanic); |
46 } |
50 } |
47 |
51 |