creator/inc/creator_connectionmethodelement.h
branchRCL_3
changeset 19 b3cee849fa46
parent 18 48060abbbeaf
child 20 fad26422216a
equal deleted inserted replaced
18:48060abbbeaf 19:b3cee849fa46
     1 /*
       
     2 * Copyright (c) 2008 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 #ifndef CREATORCONNECTIONMETHODELEMENT_H_
       
    21 #define CREATORCONNECTIONMETHODELEMENT_H_
       
    22 
       
    23 #include "creator_scriptelement.h"
       
    24 
       
    25 namespace creatorconnectionmethod
       
    26 {
       
    27     _LIT(KCm, "connectionmethod");
       
    28     _LIT(Kconnectionname, "connectionname");
       
    29     _LIT(Kbearertype, "bearertype");
       
    30     _LIT(Kstartpage, "startpage");
       
    31     _LIT(Kwapwspoption, "wapwspoption");
       
    32     _LIT(Kprotocoltype, "protocoltype");
       
    33     _LIT(Kloginname, "loginname");
       
    34     _LIT(Ksecureauthentication, "secureauthentication");
       
    35     _LIT(Kloginpass, "loginpass");
       
    36     _LIT(Kpromptpassword, "promptpassword");
       
    37     _LIT(Kgatewayaddress, "gatewayaddress");
       
    38     _LIT(Ksubnetmask, "subnetmask");
       
    39     _LIT(Kdeviceipaddr, "deviceipaddr");
       
    40     _LIT(Kip4nameserver1, "ip4nameserver1");
       
    41     _LIT(Kip4nameserver2, "ip4nameserver2");
       
    42     _LIT(Kdatacalltelnumber, "datacalltelnumber");
       
    43     _LIT(Kdatacalltypeisdn, "datacalltypeisdn");
       
    44     _LIT(Kdatacalllinespeed, "datacalllinespeed");
       
    45     _LIT(Kuseproxy, "useproxy");
       
    46     _LIT(Kproxyserveraddress, "proxyserveraddress");
       
    47     _LIT(Kproxyportnumber, "proxyportnumber");
       
    48     _LIT(Kip6nameserver1, "ip6nameserver1");
       
    49     _LIT(Kip6nameserver2, "ip6nameserver2");
       
    50     _LIT(Kdisabletextauth, "disabletextauth");
       
    51     _LIT(Kwlanname, "wlanname");
       
    52     _LIT(Kwlanipaddr, "wlanipaddr");
       
    53     _LIT(Kwlansecmode, "wlansecmode");
       
    54     _LIT(Kwlannetmode, "wlannetmode");
       
    55     
       
    56     // Bearer type:
       
    57     _LIT(Kwlan, "wlan");
       
    58     _LIT(Kgprs, "gprs");
       
    59     _LIT(Kdatacall, "datacall");
       
    60     _LIT(Khsgsm, "hsgsm");
       
    61     _LIT(Kembedded, "embedded");
       
    62     _LIT(Kvpn, "vpn");
       
    63     _LIT(Klan, "lan");
       
    64     
       
    65     // Data call type isdn:
       
    66     _LIT(Kanalogue, "analogue");
       
    67     _LIT(Kisdnv110, "isdnv110");
       
    68     _LIT(Kisdnv120, "isdnv120");
       
    69     
       
    70     // Line speed:
       
    71     _LIT(Kautomatic, "automatic");
       
    72     // WAP wps options:
       
    73     _LIT(Kconnectionless, "connectionless"); // ECmWapWspOptionConnectionless
       
    74     _LIT(Kconnectionoriented, "connectionoriented"); // ECmWapWspOptionConnectionOriented
       
    75     
       
    76     // Protocol
       
    77     _LIT(Kipv4, "ipv4");
       
    78     _LIT(Kipv6, "ipv6");
       
    79 
       
    80     // WLAN security mode:
       
    81     _LIT(Kopen, "open");
       
    82     _LIT(Kwep, "wep");
       
    83     _LIT(Ke802_1x, "e802_1x");
       
    84     _LIT(Kwpa, "wpa");
       
    85     _LIT(Kwpa2, "wpa2");
       
    86 }
       
    87 
       
    88 class CCreatorConnectionMethodElement : public CCreatorScriptElement
       
    89 {
       
    90 public:
       
    91     static CCreatorConnectionMethodElement* NewL(CCreatorEngine* aEngine, const TDesC& aName, const TDesC& aContext = KNullDesC);
       
    92     void ExecuteCommandL();
       
    93     
       
    94 protected:
       
    95     CCreatorConnectionMethodElement(CCreatorEngine* aEngine);
       
    96 };
       
    97 
       
    98 #endif /*CREATORCONNECTIONMETHODELEMENT_H_*/