00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef CMCONNECTIONMETHODDEF_H
00019 #define CMCONNECTIONMETHODDEF_H
00020
00021
00022 #include <e32base.h>
00023
00024
00025
00026
00027 const TUint KLanBaseSpecificAttributes = 20000;
00028 const TUint KLanBaseIfNetworks = 20100;
00029
00030 const TUint KLanBaseRangeMax = 29999;
00031
00033 const TUint KCMPluginInterfaceUid = 0x10207377;
00034
00035 namespace CMManager
00036 {
00037
00038
00040 enum TNamingMethod
00041 {
00042 ENamingNothing,
00043 ENamingUnique,
00044 ENamingNotAccept
00045
00046 };
00047
00048
00049 enum TIPv6Types
00050 {
00051 EIPv6Unspecified,
00052 EIPv6WellKnown,
00053 EIPv6UserDefined
00054 };
00055
00056 enum TSeamlessnessValue
00057 {
00058 ESeamlessnessNotRoamedTo,
00059 ESeamlessnessConfirmFirst,
00060 ESeamlessnessShowprogress,
00061 ESeamlessnessFullySeamless
00062 };
00063
00064
00066 _LIT( KUnspecifiedIPv4, "0.0.0.0" );
00067
00069 _LIT( KKnownIp6NameServer1, "fec0:000:0000:ffff::1" );
00071 _LIT( KKnownIp6NameServer2, "fec0:000:0000:ffff::2" );
00072
00074 _LIT( KDynamicIpv6Address, "0:0:0:0:0:0:0:0" );
00075
00077 _LIT( KDefProxyProtocolName, "http" );
00078
00080 _LIT( KDefaultProxyPortNumber, "0" );
00081
00083 _LIT( KDefIspIfNetworksIPv4, "ip" );
00085 _LIT( KDefIspIfNetworksIPv6, "ip6" );
00087 _LIT( KDefIspIfNetworksIPv4IPv6, "ip,ip6" );
00089 _LIT( KDefIspIfNetworksIPv4IPv6LAN, "ip" );
00090
00091 _LIT( KDaemonManagerName, "NetCfgExtnDhcp" );
00092 _LIT( KConfigDaemonName, "!DhcpServ" );
00093
00094
00098 enum TConnectionMethodCommonAttributes
00099 {
00104 ECmCoverage,
00109 ECmDefaultPriority,
00115 ECmDestination,
00121 ECmBearerHasUi,
00126 ECmIPv6Supported,
00131 ECmDefaultUiPriority,
00137 ECmBearerIcon = 100,
00146 ECmBearerAvailableIcon,
00155 ECmBearerAvailableName = 200,
00162 ECmBearerSupportedName,
00168 ECmBearerAvailableText,
00175 ECmBearerNamePopupNote,
00181 ECmCommsDBBearerType,
00189 ECmBearerSettingName,
00195 ECmVirtual,
00203 ECmInvalidAttribute = 400,
00209 ECmAddToAvailableList,
00215 ECmLoadResult,
00228 ECmBearerType = 500,
00233 ECmName,
00238 ECmIapId,
00243 ECmStartPage,
00248 ECmHidden,
00254 ECmProtected,
00260 ECmNamingMethod,
00265 ECmSeamlessnessLevel,
00271 ECmElementID,
00276 ECmNetworkId,
00281 ECmConnected,
00287 ECmId,
00295 ECmWapId,
00304 ECmIapServiceId,
00315 ECmMetaHighlight = 600,
00322 ECmMetaHiddenAgent,
00328
00329
00330 ECmNextLayerIapId,
00335 ECmNextLayerSNAPId,
00340
00341 ECmProxyUsageEnabled = 1000,
00353 ECmProxyServerName,
00360 ECmProxyProtocolName,
00368 ECmProxyPortNumber,
00375 ECmProxyExceptions,
00383 ECmProxyRangeMax = 1999,
00387 ECmChargeCardUsageEnabled = 2000,
00393 ECmChargeCardAccountNumber,
00398 ECmChargeCardPIN,
00403 ECmChargeCardLocalRule,
00409 ECmChargeCardNatRule,
00416 ECmChargeCardIntlRule,
00423 ECmChargeCardRangeMax = 2999,
00427 ECmLocationUsageEnabled = 3000,
00433 ECmLocationIntlPrefixCode,
00438 ECmLocationNatPrefixCode,
00443 ECmLocationNatCode,
00448 ECmLocationAreaCode,
00453 ECmLocationDialOutCode,
00458 ECmLocationDisableCallWaitingCode,
00464 ECmLocationMobile,
00469 ECmLocationUsePulseDial,
00474 ECmLocationWaitForDialTone,
00479 ECmLocationPauseAfterDialOut,
00484 ECmLocationRangeMax = 3999,
00489
00490 ECmWapIPGatewayAddress = 4000,
00496 ECmWapIPWSPOption,
00505 ECmWapIPSecurity,
00510 ECmWapIPProxyPort,
00515 ECmWapIPProxyLoginName,
00520 ECmWapIPProxyLoginPass,
00526 ECmWapRangeMax = 4099,
00537 ECmCommonAttributesStart = 5000,
00542 ECmIFName,
00549 ECmIFParams,
00556 ECmIFNetworks,
00563 ECmIFPromptForAuth,
00570 ECmIFAuthName,
00577 ECmIFAuthPass,
00584 ECmIFAuthRetries,
00592 ECmIPNetmask = 5050,
00599 ECmIPGateway,
00606 ECmIPAddFromServer,
00613 ECmIPAddress,
00620 ECmIPDNSAddrFromServer,
00627 ECmIPNameServer1,
00634 ECmIPNameServer2,
00641 ECmIP6DNSAddrFromServer,
00648 ECmIP6NameServer1,
00655 ECmIP6NameServer2,
00662 ECmIPAddrLeaseValidFrom,
00671 ECmIPAddrLeaseValidTo,
00680 ECmConfigDaemonManagerName = 5100,
00693 ECmConfigDaemonName,
00705 ECmEnableLPCExtension = 5110,
00712 ECmDisablePlainTextAuth,
00719 ECmCommonAttributesEnd = 5999,
00727 ECmSpecialAttributes = 6000,
00732 ECmIsLinked,
00740 ECmSpecialAttributesEnd = 8999
00743 };
00744
00746 enum TWapWSPOption
00747 {
00751 ECmWapWspOptionConnectionless,
00752
00756 ECmWapWspOptionConnectionOriented
00757 };
00758
00759 }
00760
00761
00762 #endif