|
1 /* |
|
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef CREATORCONNECTIONMETHODELEMENT_H_ |
|
22 #define CREATORCONNECTIONMETHODELEMENT_H_ |
|
23 |
|
24 #include "creator_scriptelement.h" |
|
25 |
|
26 namespace creatorconnectionmethod |
|
27 { |
|
28 _LIT(KCm, "connectionmethod"); |
|
29 _LIT(Kconnectionname, "connectionname"); |
|
30 _LIT(Kbearertype, "bearertype"); |
|
31 _LIT(Kstartpage, "startpage"); |
|
32 _LIT(Kwapwspoption, "wapwspoption"); |
|
33 _LIT(Kprotocoltype, "protocoltype"); |
|
34 _LIT(Kloginname, "loginname"); |
|
35 _LIT(Ksecureauthentication, "secureauthentication"); |
|
36 _LIT(Kloginpass, "loginpass"); |
|
37 _LIT(Kpromptpassword, "promptpassword"); |
|
38 _LIT(Kgatewayaddress, "gatewayaddress"); |
|
39 _LIT(Ksubnetmask, "subnetmask"); |
|
40 _LIT(Kdeviceipaddr, "deviceipaddr"); |
|
41 _LIT(Kip4nameserver1, "ip4nameserver1"); |
|
42 _LIT(Kip4nameserver2, "ip4nameserver2"); |
|
43 _LIT(Kdatacalltelnumber, "datacalltelnumber"); |
|
44 _LIT(Kdatacalltypeisdn, "datacalltypeisdn"); |
|
45 _LIT(Kdatacalllinespeed, "datacalllinespeed"); |
|
46 _LIT(Kuseproxy, "useproxy"); |
|
47 _LIT(Kproxyserveraddress, "proxyserveraddress"); |
|
48 _LIT(Kproxyportnumber, "proxyportnumber"); |
|
49 _LIT(Kip6nameserver1, "ip6nameserver1"); |
|
50 _LIT(Kip6nameserver2, "ip6nameserver2"); |
|
51 _LIT(Kdisabletextauth, "disabletextauth"); |
|
52 _LIT(Kwlanname, "wlanname"); |
|
53 _LIT(Kwlanipaddr, "wlanipaddr"); |
|
54 _LIT(Kwlansecmode, "wlansecmode"); |
|
55 _LIT(Kwlannetmode, "wlannetmode"); |
|
56 |
|
57 // Bearer type: |
|
58 _LIT(Kwlan, "wlan"); |
|
59 _LIT(Kgprs, "gprs"); |
|
60 _LIT(Kdatacall, "datacall"); |
|
61 _LIT(Khsgsm, "hsgsm"); |
|
62 _LIT(Kembedded, "embedded"); |
|
63 _LIT(Kvpn, "vpn"); |
|
64 _LIT(Klan, "lan"); |
|
65 |
|
66 // Data call type isdn: |
|
67 _LIT(Kanalogue, "analogue"); |
|
68 _LIT(Kisdnv110, "isdnv110"); |
|
69 _LIT(Kisdnv120, "isdnv120"); |
|
70 |
|
71 // Line speed: |
|
72 _LIT(Kautomatic, "automatic"); |
|
73 // WAP wps options: |
|
74 _LIT(Kconnectionless, "connectionless"); // ECmWapWspOptionConnectionless |
|
75 _LIT(Kconnectionoriented, "connectionoriented"); // ECmWapWspOptionConnectionOriented |
|
76 |
|
77 // Protocol |
|
78 _LIT(Kipv4, "ipv4"); |
|
79 _LIT(Kipv6, "ipv6"); |
|
80 |
|
81 // WLAN security mode: |
|
82 _LIT(Kopen, "open"); |
|
83 _LIT(Kwep, "wep"); |
|
84 _LIT(Ke802_1x, "e802_1x"); |
|
85 _LIT(Kwpa, "wpa"); |
|
86 _LIT(Kwpa2, "wpa2"); |
|
87 } |
|
88 |
|
89 class CCreatorConnectionMethodElement : public CCreatorScriptElement |
|
90 { |
|
91 public: |
|
92 static CCreatorConnectionMethodElement* NewL(CCreatorEngine* aEngine, const TDesC& aName, const TDesC& aContext = KNullDesC); |
|
93 void ExecuteCommandL(); |
|
94 |
|
95 protected: |
|
96 CCreatorConnectionMethodElement(CCreatorEngine* aEngine); |
|
97 }; |
|
98 |
|
99 #endif /*CREATORCONNECTIONMETHODELEMENT_H_*/ |