|
1 // Copyright (c) 2001-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 // |
|
15 |
|
16 #include "common.h" |
|
17 |
|
18 // constructor to initialise all constant data. |
|
19 CCommonData::CCommonData() : |
|
20 KTerminator(36), |
|
21 KTerminatorCount(1), |
|
22 KTerminatorStr(_L8("$")), |
|
23 KCtrlCommPortName(_L("COMM::1")), |
|
24 KCtrlCommPortName4asbt(_L("COMM::2")), |
|
25 KCtrlCommPortName4H2(_L("COMM::3")), |
|
26 KStartCmd(_L8("start")), |
|
27 KStopCmd(_L8("stop")), |
|
28 KStartTermCmd(_L8("terminate")), |
|
29 KMaxCfgIdLength ( 1), |
|
30 KMaxCmdLen(30), |
|
31 KModemPortString(_L("ModemBearer\\PortName")), |
|
32 KModemCsyString(_L("ModemBearer\\CSYName")), |
|
33 KModemCommRoleString(_L("ModemBearer\\CommRole")), |
|
34 KIapIdString(_L("IAP\\Id")), |
|
35 KPppIsServerMode(EFalse), |
|
36 KPppCommdbName(_L("Dummy")), |
|
37 KPppPortString(_L("COMM::0")), |
|
38 KPppCsyString(_L("ECUART")), |
|
39 KPppCommRole(0), |
|
40 KPppIapId(1), |
|
41 KPppIsLcpExtEnabled(EFalse), |
|
42 KPppIsSwCompEnabled(EFalse), |
|
43 KPppIsCallbackEnabled(EFalse), |
|
44 KTestConfigFilePaths(_L("z:\\private\\101f7989\\ESock\\;\\;c:\\system\\data\\;z:\\testdata\\configs\\")), |
|
45 KTestConfigFileName(_L("te_ppp.cfg")), |
|
46 KPppIniFullPath(_L("\\private\\101F7989\\ESock\\ppp.ini")), |
|
47 KPppNifFileName(_L("tppp.nif")), |
|
48 KCommDbSectionName(_L("commdb")) |
|
49 |
|
50 { |
|
51 } |