equal
deleted
inserted
replaced
|
1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Global functions - DLL entry point and general panic |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file Nd_dll.cpp |
|
20 @internalComponent |
|
21 */ |
|
22 |
|
23 #include <e32std.h> |
|
24 #include <cdbcols.h> |
|
25 #include "ND_STD.H" |
|
26 #include "SLOGGER.H" |
|
27 #include "ND_DIRCT.H" |
|
28 #include "ND_DLIN.H" |
|
29 #include "ND_DLUP.H" |
|
30 #include "ND_DBACC.H" |
|
31 |
|
32 |
|
33 /** |
|
34 General panic function. |
|
35 |
|
36 Global functions - DLL entry point and general panic |
|
37 |
|
38 @param aPanic is the netdial panic which should be used in User::Panic(). |
|
39 */ |
|
40 GLDEF_C void NetDialPanic(TNetDialPanic aPanic) |
|
41 { |
|
42 __FLOG_STMT(_LIT8(logString,"NetDial Panic %d");) |
|
43 __FLOG_STATIC1(KNetDialLogFolder(),KNetDialLogFile(),TRefByValue<const TDesC8>(logString()),aPanic); |
|
44 _LIT(KNetDialPanic,"NetDial"); |
|
45 User::Panic(KNetDialPanic,aPanic); |
|
46 } |
|
47 |