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