epoc32/include/mw/cmconnectionmethoddef.h
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
     1.1 --- a/epoc32/include/mw/cmconnectionmethoddef.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/mw/cmconnectionmethoddef.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,761 @@
     1.4 -cmconnectionmethoddef.h
     1.5 +/*
     1.6 +* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
     1.7 +* All rights reserved.
     1.8 +* This component and the accompanying materials are made available
     1.9 +* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
    1.10 +* which accompanies this distribution, and is available
    1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.12 +*
    1.13 +* Initial Contributors:
    1.14 +* Nokia Corporation - initial contribution.
    1.15 +*
    1.16 +* Contributors:
    1.17 +*
    1.18 +* Description:  Definition of attributes used by every Connection Methods.
    1.19 +*
    1.20 +*/
    1.21 +
    1.22 +#ifndef CMCONNECTIONMETHODDEF_H
    1.23 +#define CMCONNECTIONMETHODDEF_H
    1.24 +
    1.25 +// INCLUDES
    1.26 +#include <e32base.h>
    1.27 +
    1.28 +// CONSTANTS
    1.29 +
    1.30 +// Beginning of the CMManager enum range (internal use)
    1.31 +const TUint KLanBaseSpecificAttributes = 20000;
    1.32 +const TUint KLanBaseIfNetworks = 20100; 
    1.33 +// End of the CMManager enum range (internal use)
    1.34 +const TUint KLanBaseRangeMax = 29999;
    1.35 +
    1.36 +/**  ECOM interface UID */
    1.37 +const TUint KCMPluginInterfaceUid = 0x10207377;
    1.38 +
    1.39 +namespace CMManager
    1.40 +    {
    1.41 +    //Enumeration for possible values of seamlessness field 
    1.42 +    //in IAP Metadata table 
    1.43 +    /**  Naming method options */
    1.44 +    enum TNamingMethod
    1.45 +        {
    1.46 +        ENamingNothing,     ///< Do nothing with name set via ECmName
    1.47 +        ENamingUnique,      ///< Make name unique when ECmName is set.
    1.48 +        ENamingNotAccept    ///< Do not accept duplication. It will leave with
    1.49 +                            ///< KErrArgument.
    1.50 +        };
    1.51 +    
    1.52 +    // Enumeration for IPv6 types
    1.53 +    enum TIPv6Types
    1.54 +        {
    1.55 +        EIPv6Unspecified,   ///< Unspecified IPv6 type
    1.56 +        EIPv6WellKnown,     ///< Well known IPv6 type
    1.57 +        EIPv6UserDefined    ///< User defined IPv6 type
    1.58 +        };
    1.59 +    
    1.60 +    enum TSeamlessnessValue
    1.61 +        {
    1.62 +        ESeamlessnessNotRoamedTo,   // NOT supported
    1.63 +        ESeamlessnessConfirmFirst,  // Confirm first
    1.64 +        ESeamlessnessShowprogress,  // Shows progress
    1.65 +        ESeamlessnessFullySeamless  // NOT supported
    1.66 +        };
    1.67 +    
    1.68 +    
    1.69 +    /// Unspecified IPv4 address
    1.70 +    _LIT( KUnspecifiedIPv4, "0.0.0.0" );
    1.71 +    
    1.72 +    /// Known IPv6 name server 1
    1.73 +    _LIT( KKnownIp6NameServer1, "fec0:000:0000:ffff::1" );
    1.74 +    /// Known IPv6 name server 2
    1.75 +    _LIT( KKnownIp6NameServer2, "fec0:000:0000:ffff::2" );
    1.76 +    
    1.77 +    /// Dynamic IPv6 address
    1.78 +    _LIT( KDynamicIpv6Address, "0:0:0:0:0:0:0:0" );
    1.79 +
    1.80 +    /// Default proxy protocol name
    1.81 +    _LIT( KDefProxyProtocolName, "http" );
    1.82 +    
    1.83 +    /// Default proxy port number
    1.84 +    _LIT( KDefaultProxyPortNumber, "0" );
    1.85 +
    1.86 +    /// IPv4 network protocol
    1.87 +    _LIT( KDefIspIfNetworksIPv4, "ip" );
    1.88 +    /// IPv6 network protocol
    1.89 +    _LIT( KDefIspIfNetworksIPv6, "ip6" );
    1.90 +    /// IPv4 and IPv6 network protocols
    1.91 +    _LIT( KDefIspIfNetworksIPv4IPv6, "ip,ip6" );
    1.92 +    /// IPv4 and IPv6 network protocols for LAN bearers
    1.93 +    _LIT( KDefIspIfNetworksIPv4IPv6LAN, "ip" );
    1.94 +
    1.95 +    _LIT( KDaemonManagerName, "NetCfgExtnDhcp" );
    1.96 +    _LIT( KConfigDaemonName, "!DhcpServ" );
    1.97 +
    1.98 +
    1.99 +    /**
   1.100 +    * This enum lists all the common attributes of Connection Methods.
   1.101 +    */
   1.102 +    enum TConnectionMethodCommonAttributes
   1.103 +        {
   1.104 +        /**
   1.105 +        * The following attributes can be queried via both 
   1.106 +        * the manager interface's and connection method interface's ::Get functions.
   1.107 +        */
   1.108 +        ECmCoverage,                /**<
   1.109 +                                    * Checks if there's coverage for this bearer.
   1.110 +                                    * (TBool - default: none - read only)
   1.111 +                                    */
   1.112 +                        
   1.113 +        ECmDefaultPriority,         /**<
   1.114 +                                    * Default global priority of the CM's bearer 
   1.115 +                                    * type.
   1.116 +                                    * (TUint32 - default: none - read only)
   1.117 +                                    */
   1.118 +                        
   1.119 +        ECmDestination,             /**<
   1.120 +                                    * ETrue if this connection method is 
   1.121 +                                    * an embedded destination.
   1.122 +                                    * (TBool - default: none - read only)
   1.123 +                                    */
   1.124 +                            
   1.125 +        ECmBearerHasUi,             /**<
   1.126 +                                    * Indicates whether the bearer has any UI.
   1.127 +                                    * (TBool - default: none - read only)
   1.128 +                                    */
   1.129 +
   1.130 +        ECmIPv6Supported,           /**<
   1.131 +                                    * Returns ETrue if IPv6 is supported.
   1.132 +                                    * (TBool - default: none - read only)
   1.133 +                                    */
   1.134 +                                    
   1.135 +        ECmDefaultUiPriority,       /**<
   1.136 +                                    * Priority of this bearer type when shown in UI for 
   1.137 +                                    * configuring a new IAP.
   1.138 +                                    * (TUint32 - default: none - read only)
   1.139 +                                    */
   1.140 +
   1.141 +        ECmBearerIcon = 100,        /**<
   1.142 +                                    * Return the bearer specific icon. Assumes that
   1.143 +                                    * there's an existing EEikEnv in the client.                        
   1.144 +                                    * Type cast return value from TUint32 to 
   1.145 +                                    * CGuiIcon*.
   1.146 +                                    * Return value 0 means bearer has no icon.
   1.147 +                                    * (TUint32 - default: none - read only)
   1.148 +                                    */ 
   1.149 +                        
   1.150 +        ECmBearerAvailableIcon,     /**<
   1.151 +                                    * Return the bearer available specific icon. 
   1.152 +                                    * Assumes that there's an existing EEikEnv 
   1.153 +                                    * in the client. Type cast return value from 
   1.154 +                                    * TUint32 to CGuiIcon*.
   1.155 +                                    * Return value 0 means bearer has no icon.
   1.156 +                                    * (TUint32 - default: none - read only)
   1.157 +                                    */
   1.158 +                        
   1.159 +        ECmBearerAvailableName = 200,   /**<
   1.160 +                                        * Name of the bearer. Can be used in 
   1.161 +                                        * layout 
   1.162 +                                        * list_double_large_graphic_popup_menu_pane.
   1.163 +                                        * (String - default: none - read only)
   1.164 +                                        */
   1.165 +                        
   1.166 +        ECmBearerSupportedName,     /**<
   1.167 +                                    * Name of the bearer. Can be used in 
   1.168 +                                    * layout list_single_popup_menu_pane_1.
   1.169 +                                    * (String - default: none - read only)
   1.170 +                                    */
   1.171 +                        
   1.172 +        ECmBearerAvailableText,     /**<
   1.173 +                                    * Localized text 'Available'. Can be used in 
   1.174 +                                    * layout 
   1.175 +                                    * list_double_large_graphic_popup_menu_pane.
   1.176 +                                    * (String - default: none - read only)
   1.177 +                                    */
   1.178 +                        
   1.179 +        ECmBearerNamePopupNote,     /**<
   1.180 +                                    * Localized text of the bearer type name.
   1.181 +                                    * Can be used in layout popup note.
   1.182 +                                    * (String - default: none - read only)
   1.183 +                                    */
   1.184 +
   1.185 +        ECmCommsDBBearerType,       /**<
   1.186 +                                    * For backward compatibility, connection method
   1.187 +                                    * can return its CommsDB specific bearer type.
   1.188 +                                    * (TUint32 - default: none - read only)
   1.189 +                                    * Leaves with KErrUnknown if no associated bearer 
   1.190 +                                    * type exists in CommsDat.
   1.191 +                                    */
   1.192 +                                
   1.193 +        ECmBearerSettingName,       /**<
   1.194 +                                    * Name of the data bearer used when 
   1.195 +                                    * accessing external network.
   1.196 +                                    * (String - default: none - read only)
   1.197 +                                    */
   1.198 +        
   1.199 +        ECmVirtual,                 /**<
   1.200 +                                    * Is the given connection method virtual?
   1.201 +                                    * (TBool - default: none - read only)
   1.202 +                                    */
   1.203 +
   1.204 +        /**
   1.205 +        * These are not bearer specific, but controling attributes.
   1.206 +        */    
   1.207 +        ECmInvalidAttribute = 400,  /**<
   1.208 +                                    * Client application can check which attribute 
   1.209 +                                    * was incorrect in UpdateL().
   1.210 +                                    * (TUint32 - default: none - read only)
   1.211 +                                    */
   1.212 +                                    
   1.213 +        ECmAddToAvailableList,      /**<
   1.214 +                                    * Bearer type has to be added to the avaialable
   1.215 +                                    * bearer type list.
   1.216 +                                    * (TBool - default: EFalse - read only)
   1.217 +                                    */                   
   1.218 +                        
   1.219 +        ECmLoadResult,              /**<
   1.220 +                                    * Result of the load process. KErrNone if there
   1.221 +                                    * was no error. Otherwise a system wide
   1.222 +                                    * error code.
   1.223 +                                    * (TUint32 - default: KErrNone - read only)
   1.224 +                                    */
   1.225 +        
   1.226 +        /**
   1.227 +        * Attributes the can be queried only via
   1.228 +        * - connection method's GetXXXAttributeL()
   1.229 +        * - connection manager's function GetConnectionMethodInfoXXXL()
   1.230 +        * functions
   1.231 +        */
   1.232 +        ECmBearerType = 500,        /**<   
   1.233 +                                    * Bearer type of the CM 
   1.234 +                                    * (TUint - default: none - read only)
   1.235 +                                    */
   1.236 +                        
   1.237 +        ECmName,                    /**<   
   1.238 +                                    * Name of the CM
   1.239 +                                    * (String - default: none)
   1.240 +                                    */
   1.241 +        
   1.242 +        ECmIapId,                   /**<    
   1.243 +                                    * IAP id
   1.244 +                                    * (TUint32 - default: none - read only)
   1.245 +                                    */
   1.246 +                        
   1.247 +        ECmStartPage,               /**<
   1.248 +                                    * Start page of the connection method
   1.249 +                                    * (String - default: empty string)
   1.250 +                                    */
   1.251 +
   1.252 +        ECmHidden,                  /**<
   1.253 +                                    * Connection method is hidden. 
   1.254 +                                    * (not supported yet)
   1.255 +                                    * (TBool - default: EFalse)
   1.256 +                                    */
   1.257 +
   1.258 +        ECmProtected,               /**<
   1.259 +                                    * This connection method is protected. 
   1.260 +                                    * Modifying it needs NetworkControl capability.
   1.261 +                                    * (TBool - default: EFalse)
   1.262 +                                    */
   1.263 +                        
   1.264 +        ECmNamingMethod,            /**<
   1.265 +                                    * See acceptable values in TNamingControl.
   1.266 +                                    * (TUint32 - default: ENamingUnique)
   1.267 +                                    */             
   1.268 +        
   1.269 +        ECmSeamlessnessLevel,   /**<
   1.270 +                                * Defines whether an IAP can be roamed to.
   1.271 +                                * See details in TSeamlessnessValue.
   1.272 +                                * (TUint32 - default: ESeamlessnessConfirmFirst )
   1.273 +                                */
   1.274 +                                
   1.275 +        ECmElementID,           /**<
   1.276 +                                * Element id of the connection method in IAP table.
   1.277 +                                * (TUint32 - default: none - read only)
   1.278 +                                */
   1.279 +        
   1.280 +        ECmNetworkId,           /**<
   1.281 +                                * Network id of the connection method.
   1.282 +                                * (TUint32 - default: none - read only)
   1.283 +                                */
   1.284 +                                
   1.285 +        ECmConnected,           /**<
   1.286 +                                * Is network connection created with connection
   1.287 +                                * method?
   1.288 +                                * (TBool - default: none - read only)
   1.289 +                                */
   1.290 +
   1.291 +        ECmId,                  /**<    
   1.292 +                                * ID to uniquely identify the connection
   1.293 +                                * methods
   1.294 +                                * It is guaranteed that every connection
   1.295 +                                * method has an ECmId
   1.296 +                                * (TUint32 - default: none - read only)
   1.297 +                                */
   1.298 +
   1.299 +        ECmWapId,               /**
   1.300 +		                        * Provided for backwards compatibility only.
   1.301 +                                * The record ID of the connection methods' 
   1.302 +                                * corresponding WAP_ACCESS_POINT record, which
   1.303 +                                * use had been deprecated as the main ID 
   1.304 +                                * should now be ECmIapId, ECmElementID or ECmId.
   1.305 +                                * (TUint32 - default: none - read only)
   1.306 +                                */
   1.307 +
   1.308 +        ECmIapServiceId,        /**
   1.309 +		                        * Provided for backwards compatibility only.
   1.310 +                                * The record ID of the connection methods' 
   1.311 +                                * service record
   1.312 +                                * (TUint32 - default: none - read only)
   1.313 +                                */
   1.314 +
   1.315 +        /**
   1.316 +        * The following attributes are stored in the connection method's 
   1.317 +        * meta data record.
   1.318 +        */
   1.319 +        ECmMetaHighlight = 600, /**<
   1.320 +                                * Set to indicate that this connection method is
   1.321 +                                * highlighted in Agent dialog. Only one connection
   1.322 +                                * method can have this flag set.
   1.323 +                                * (TBool - default: EFalse)
   1.324 +                                */
   1.325 +                                
   1.326 +        ECmMetaHiddenAgent,     /**<
   1.327 +                                * Set to hide this connection method in Agent
   1.328 +                                * dialog.
   1.329 +                                * (TBool - default: EFalse)
   1.330 +                                */
   1.331 +                                
   1.332 +        // These attributes can be used with virtual bearer type
   1.333 +        // connection methods.
   1.334 +        ECmNextLayerIapId,      /**<
   1.335 +                                * Returns the linked connection method's IAP id.
   1.336 +                                * (TUint32 - default: None)
   1.337 +                                */
   1.338 +                                
   1.339 +        ECmNextLayerSNAPId,     /**<
   1.340 +                                * Returns the linked connection method's SNAP id.
   1.341 +                                * (TUint32 - default: None)
   1.342 +                                */
   1.343 +        
   1.344 +        // Proxy attributes
   1.345 +        ECmProxyUsageEnabled = 1000,    /**<
   1.346 +                                        * Set to enable/disable proxy setting
   1.347 +                                        * of connection method.
   1.348 +                                        * Disabling: record is deleted from proxy 
   1.349 +                                        * when UpdateL() is called.
   1.350 +                                        * Proxy record is deleted on UpdateL() 
   1.351 +                                        * if ECmProxyServerName is an empty string.
   1.352 +                                        * It can be queried only via the 
   1.353 +                                        * connection method's GetXXXAttributeL()
   1.354 +                                        * (TBool: default: EFalse)
   1.355 +                                        */
   1.356 +     
   1.357 +        ECmProxyServerName,             /**<
   1.358 +                                        * Name of the host.
   1.359 +                                        * It can be queried only via the 
   1.360 +                                        * connection method's GetXXXAttributeL()
   1.361 +                                        * (String - default: none)
   1.362 +                                        */
   1.363 +                                        
   1.364 +        ECmProxyProtocolName,           /**<
   1.365 +                                        * Name of the protocol for which this proxy 
   1.366 +                                        * can be used.
   1.367 +                                        * It can be queried only via the 
   1.368 +                                        * connection method's GetXXXAttributeL()
   1.369 +                                        * (String - default: none)
   1.370 +                                        */
   1.371 +                                        
   1.372 +        ECmProxyPortNumber,             /**< 
   1.373 +                                        * Port number
   1.374 +                                        * It can be queried only via the 
   1.375 +                                        * connection method's GetXXXAttributeL()
   1.376 +                                        * (TUint32 - default: none)
   1.377 +                                        */
   1.378 +                                        
   1.379 +        ECmProxyExceptions,             /**<
   1.380 +                                        * ";" separated list of the addresses for 
   1.381 +                                        * which the proxy server should not be used.
   1.382 +                                        * It can be queried only via the 
   1.383 +                                        * connection method's GetXXXAttributeL()
   1.384 +                                        * (String - default: none)
   1.385 +                                        */
   1.386 +                                        
   1.387 +        ECmProxyRangeMax = 1999,        /**<
   1.388 +                                        * Marks the end of the proxy range
   1.389 +                                        */
   1.390 +                                  
   1.391 +        ECmChargeCardUsageEnabled = 2000,   /**<
   1.392 +                                            * Same as in ECmProxyUsageEnabled but 
   1.393 +                                            * for charge card. 
   1.394 +                                            * (TBool - default: EFalse)
   1.395 +                                            */      
   1.396 +                                            
   1.397 +        ECmChargeCardAccountNumber,         /**<
   1.398 +                                            * Account number
   1.399 +                                            * (String - default: none)
   1.400 +                                            */
   1.401 +                                            
   1.402 +        ECmChargeCardPIN,                   /**<
   1.403 +                                            * PIN number
   1.404 +                                            * (String - default: none)
   1.405 +                                            */
   1.406 +        
   1.407 +        ECmChargeCardLocalRule,             /**<
   1.408 +                                            * Order of dialling account number, 
   1.409 +                                            * PIN and phone number for local calls.
   1.410 +                                            * (String - default: none)
   1.411 +                                            */
   1.412 +                                            
   1.413 +        ECmChargeCardNatRule,               /**<
   1.414 +                                            * Order of dialling account number, 
   1.415 +                                            * PIN and phone number for national 
   1.416 +                                            * calls.
   1.417 +                                            * (String - default: none)
   1.418 +                                            */
   1.419 +
   1.420 +        ECmChargeCardIntlRule,              /**<
   1.421 +                                            * Order of  dialling account number, 
   1.422 +                                            * PIN and phone number for 
   1.423 +                                            * international calls.
   1.424 +                                            * (String - default: none)
   1.425 +                                            */
   1.426 +        
   1.427 +        ECmChargeCardRangeMax = 2999,       /**<
   1.428 +                                            * Marks the end of the chargecard range
   1.429 +                                            */
   1.430 +                                            
   1.431 +        ECmLocationUsageEnabled = 3000,     /**<
   1.432 +                                            * Same as in ECmProxyUsageEnabled but 
   1.433 +                                            * for location. 
   1.434 +                                            * (TBool - default: EFalse)
   1.435 +                                            */
   1.436 +                                            
   1.437 +        ECmLocationIntlPrefixCode,          /**<
   1.438 +                                            * International prefix code.
   1.439 +                                            * (String - default: none)
   1.440 +                                            */
   1.441 +                                            
   1.442 +        ECmLocationNatPrefixCode,           /**<
   1.443 +                                            * National prefix code.
   1.444 +                                            * (String - default: none)
   1.445 +                                            */
   1.446 +                                            
   1.447 +        ECmLocationNatCode,                 /**<
   1.448 +                                            * National code
   1.449 +                                            * (String - default: none)
   1.450 +                                            */
   1.451 +                                            
   1.452 +        ECmLocationAreaCode,                /**<
   1.453 +                                            * Area code.
   1.454 +                                            * (String - default: none)
   1.455 +                                            */
   1.456 +                                            
   1.457 +        ECmLocationDialOutCode,             /**<
   1.458 +                                            * Number to dial for an outside line.
   1.459 +                                            * (String - default: none)
   1.460 +                                            */
   1.461 +                                            
   1.462 +        ECmLocationDisableCallWaitingCode,  /**<
   1.463 +                                            * Code to dial to disable call waiting 
   1.464 +                                            * facility.
   1.465 +                                            * (String - default: none)
   1.466 +                                            */
   1.467 +                                            
   1.468 +        ECmLocationMobile,                  /**<
   1.469 +                                            * Mobile phone?
   1.470 +                                            * (TBool - default: none)
   1.471 +                                            */
   1.472 +                                            
   1.473 +        ECmLocationUsePulseDial,            /**<
   1.474 +                                            * Use pulse dialling?
   1.475 +                                            * (TBool - default: none)
   1.476 +                                            */
   1.477 +                                            
   1.478 +        ECmLocationWaitForDialTone,         /**<
   1.479 +                                            * Wait for the dial tone?
   1.480 +                                            * (TBool - default: none)
   1.481 +                                            */
   1.482 +                                            
   1.483 +        ECmLocationPauseAfterDialOut,       /**<
   1.484 +                                            * Pause time after dial out.
   1.485 +                                            * (TUint32 - default: none)
   1.486 +                                            */
   1.487 +                                            
   1.488 +        ECmLocationRangeMax = 3999,         /**<
   1.489 +                                            * Marks the end of the location
   1.490 +                                            * range
   1.491 +                                            */
   1.492 +        
   1.493 +        // WAP specific attributes
   1.494 +        ECmWapIPGatewayAddress = 4000,      /**<
   1.495 +                                            * WAP Gateway address, in this case an 
   1.496 +                                            * IP address.
   1.497 +                                            * (String - default: none)
   1.498 +                                            */
   1.499 +                                            
   1.500 +        ECmWapIPWSPOption,          /**<
   1.501 +                                    * Enum value indicating whether 
   1.502 +                                    * connection-oriented 
   1.503 +                                    * or connectionless API should be used.
   1.504 +                                    * See valid values in TWapWSPOption.
   1.505 +                                    * (TUint32 - default: 
   1.506 +                                    * ECmWapWspOptionConnectionless)
   1.507 +                                    */
   1.508 +                                            
   1.509 +        ECmWapIPSecurity,           /**<
   1.510 +                                    * Attempt secure WTLS connection to the gateway
   1.511 +                                    * (TBool - default: EFalse)
   1.512 +                                    */
   1.513 +        
   1.514 +        ECmWapIPProxyPort,          /**<
   1.515 +                                    * Proxy port number. Required for WAP2.0 only.
   1.516 +                                    * (TUint32 - default: none)
   1.517 +                                    */
   1.518 +                                            
   1.519 +        ECmWapIPProxyLoginName,     /**<
   1.520 +                                    * Proxy login name. Required for WAP2.0 only.
   1.521 +                                    * (String - default: none)
   1.522 +                                    */
   1.523 +                                            
   1.524 +        ECmWapIPProxyLoginPass,     /**<
   1.525 +                                    * Proxy login password. 
   1.526 +                                    * Required for WAP2.0 only.
   1.527 +                                    * (String - default: none)
   1.528 +                                    */
   1.529 +                                            
   1.530 +        ECmWapRangeMax = 4099,      /**<
   1.531 +                                    * Marks the end of the WAP specific range
   1.532 +                                    */
   1.533 +
   1.534 +        /** 
   1.535 +        * The following attributes are common for many bearer types.
   1.536 +        * It's not sure that every IF or IP attribute is supported by
   1.537 +        * all bearer types.
   1.538 +        * It's not possible to query these attributes via 
   1.539 +        * GetConnectionInfoXXX() functions.
   1.540 +        */
   1.541 +        ECmCommonAttributesStart = 5000, /**<
   1.542 +                                         * Marks the beginning of the common
   1.543 +                                         * attributes
   1.544 +                                         */
   1.545 +        
   1.546 +        ECmIFName,                  /**<
   1.547 +                                    * Interface name
   1.548 +                                    * It can be queried only via the 
   1.549 +                                    * connection method's GetXXXAttributeL()
   1.550 +                                    * (String - default: none)
   1.551 +                                    */
   1.552 +                                    
   1.553 +        ECmIFParams,                /**<
   1.554 +                                    * Interface parameter string
   1.555 +                                    * It can be queried only via the 
   1.556 +                                    * connection method's GetXXXAttributeL()
   1.557 +                                    * (String - default: none)
   1.558 +                                    */
   1.559 +                                    
   1.560 +        ECmIFNetworks,              /**<
   1.561 +                                    * List of network protocols
   1.562 +                                    * It can be queried only via the 
   1.563 +                                    * connection method's GetXXXAttributeL()
   1.564 +                                    * (String - default: none)
   1.565 +                                    */
   1.566 +                                    
   1.567 +        ECmIFPromptForAuth,         /**<
   1.568 +                                    * Prompt user for authentication
   1.569 +                                    * It can be queried only via the 
   1.570 +                                    * connection method's GetXXXAttributeL()
   1.571 +                                    * (TBool - default: none)
   1.572 +                                    */
   1.573 +                                    
   1.574 +        ECmIFAuthName,              /**<
   1.575 +                                    * Authentication user name used by PPP
   1.576 +                                    * It can be queried only via the 
   1.577 +                                    * connection method's GetXXXAttributeL()
   1.578 +                                    * (String - default: none)
   1.579 +                                    */
   1.580 +                                    
   1.581 +        ECmIFAuthPass,              /**<
   1.582 +                                    * Authentication password used by PPP
   1.583 +                                    * It can be queried only via the 
   1.584 +                                    * connection method's GetXXXAttributeL()
   1.585 +                                    * (String - default: none)
   1.586 +                                    */
   1.587 +                                    
   1.588 +        ECmIFAuthRetries,           /**<
   1.589 +                                    * Number of times for retrying authentication
   1.590 +                                    * if it fails
   1.591 +                                    * It can be queried only via the 
   1.592 +                                    * connection method's GetXXXAttributeL()
   1.593 +                                    * (TUint32 - default: none)
   1.594 +                                    */
   1.595 +        
   1.596 +        ECmIPNetmask = 5050,        /**<
   1.597 +                                    * IP net mask of interface
   1.598 +                                    * It can be queried only via the 
   1.599 +                                    * connection method's GetXXXAttributeL()
   1.600 +                                    * (String - default: none)
   1.601 +                                    */
   1.602 +                                    
   1.603 +        ECmIPGateway,               /**<
   1.604 +                                    * IP address of gateway
   1.605 +                                    * It can be queried only via the 
   1.606 +                                    * connection method's GetXXXAttributeL()
   1.607 +                                    * (String - default: none)
   1.608 +                                    */
   1.609 +                                    
   1.610 +        ECmIPAddFromServer,         /**<
   1.611 +                                    * Get IP address from server?
   1.612 +                                    * It can be queried only via the 
   1.613 +                                    * connection method's GetXXXAttributeL()
   1.614 +                                    * (TBool - default: none)
   1.615 +                                    */
   1.616 +                                    
   1.617 +        ECmIPAddress,               /**<
   1.618 +                                    * IP address of interface
   1.619 +                                    * It can be queried only via the 
   1.620 +                                    * connection method's GetXXXAttributeL()
   1.621 +                                    * (String - default: none)
   1.622 +                                    */
   1.623 +                                    
   1.624 +        ECmIPDNSAddrFromServer,     /**<
   1.625 +                                    * Get DNS addresses from server?
   1.626 +                                    * It can be queried only via the 
   1.627 +                                    * connection method's GetXXXAttributeL()
   1.628 +                                    * (TBool - default: none)
   1.629 +                                    */
   1.630 +                                    
   1.631 +        ECmIPNameServer1,           /**<
   1.632 +                                    * IP address of primary name server
   1.633 +                                    * It can be queried only via the 
   1.634 +                                    * connection method's GetXXXAttributeL()
   1.635 +                                    * (String - default: none)
   1.636 +                                    */
   1.637 +                                    
   1.638 +        ECmIPNameServer2,           /**<
   1.639 +                                    * IP address of secondary name server
   1.640 +                                    * It can be queried only via the 
   1.641 +                                    * connection method's GetXXXAttributeL()
   1.642 +                                    * (String - default: none)
   1.643 +                                    */
   1.644 +                                    
   1.645 +        ECmIP6DNSAddrFromServer,    /**<
   1.646 +                                    * Get IP6 DNS addresses from server?
   1.647 +                                    * It can be queried only via the 
   1.648 +                                    * connection method's GetXXXAttributeL()
   1.649 +                                    * (TBool - default: none)
   1.650 +                                    */
   1.651 +                                    
   1.652 +        ECmIP6NameServer1,          /**<
   1.653 +                                    * IP6 address of primary name server
   1.654 +                                    * It can be queried only via the 
   1.655 +                                    * connection method's GetXXXAttributeL()
   1.656 +                                    * (String - default: none)
   1.657 +                                    */
   1.658 +                                    
   1.659 +        ECmIP6NameServer2,          /**<
   1.660 +                                    * IP6 address of secondary name server
   1.661 +                                    * It can be queried only via the 
   1.662 +                                    * connection method's GetXXXAttributeL()
   1.663 +                                    * (String - default: none)
   1.664 +                                    */
   1.665 +                                    
   1.666 +        ECmIPAddrLeaseValidFrom,    /**<
   1.667 +                                    * IP address valid from this time, used to
   1.668 +                                    * store dynamically assigned address lease
   1.669 +                                    * info
   1.670 +                                    * It can be queried only via the 
   1.671 +                                    * connection method's GetXXXAttributeL()
   1.672 +                                    * (String - default: none)
   1.673 +                                    */
   1.674 +                                    
   1.675 +        ECmIPAddrLeaseValidTo,      /**<
   1.676 +                                    * IP address valid for use until this time,
   1.677 +                                    * used to store dynamically assigned
   1.678 +                                    * address lease info
   1.679 +                                    * It can be queried only via the 
   1.680 +                                    * connection method's GetXXXAttributeL()
   1.681 +                                    * (String - default: none)
   1.682 +                                    */
   1.683 +        
   1.684 +        ECmConfigDaemonManagerName = 5100, /**<
   1.685 +                                            * Name of the ECom configuration
   1.686 +                                            * daemon manager component. This
   1.687 +                                            * component interfaces with the
   1.688 +                                            * server identified in
   1.689 +                                            * ECmConfigDaemonName. If
   1.690 +                                            * specified, ECmConfigDaemonName
   1.691 +                                            * should also be specified.                                            
   1.692 +                                            * It can be queried only via the 
   1.693 +                                            * connection method's GetXXXAttributeL()
   1.694 +                                            * (String - default: none)
   1.695 +                                            */
   1.696 +                                            
   1.697 +        ECmConfigDaemonName,        /**<
   1.698 +                                    * Name of the configuration daemon server.
   1.699 +                                    * This server is used to provide further
   1.700 +                                    * configuration for a connection, e.g.
   1.701 +                                    * dynamic IP address assignment. If
   1.702 +                                    * specified, ECmConfigDaemonManagerName
   1.703 +                                    * should also be specified.
   1.704 +                                    * It can be queried only via the 
   1.705 +                                    * connection method's GetXXXAttributeL()
   1.706 +                                    * (String - default: none)
   1.707 +                                    */
   1.708 +        
   1.709 +        ECmEnableLPCExtension = 5110,   /**<
   1.710 +                                        * Enable LCP extensions?
   1.711 +                                        * It can be queried only via the 
   1.712 +                                        * connection method's GetXXXAttributeL()
   1.713 +                                        * (TBool - default: none)
   1.714 +                                        */
   1.715 +                                        
   1.716 +        ECmDisablePlainTextAuth,        /**<
   1.717 +                                        * Disable plaintext authentication?
   1.718 +                                        * It can be queried only via the 
   1.719 +                                        * connection method's GetXXXAttributeL()
   1.720 +                                        * (TBool - default: none)
   1.721 +                                        */
   1.722 +                                        
   1.723 +        ECmCommonAttributesEnd = 5999,  /**<
   1.724 +                                        * Marks the end of common attributes
   1.725 +                                        */
   1.726 +        
   1.727 +        /**
   1.728 +        * The following methods can be queried only via 
   1.729 +        * connection method's GetXXXAttributeL()
   1.730 +        */
   1.731 +        ECmSpecialAttributes = 6000,   /**<
   1.732 +                                        * Marks the beginning of special
   1.733 +                                        * attributes
   1.734 +                                        */
   1.735 +        
   1.736 +        ECmIsLinked,                /**<
   1.737 +                                    * Is connection method linked to any
   1.738 +                                    * virtual connection method?
   1.739 +                                    * It can be queried only via the 
   1.740 +                                    * connection method's GetXXXAttributeL()
   1.741 +                                    * (TBool - default: none)
   1.742 +                                    */
   1.743 +                                    
   1.744 +        ECmSpecialAttributesEnd = 8999  /**<
   1.745 +                                        * Marks the end of special attributes
   1.746 +                                        */
   1.747 +        };
   1.748 +
   1.749 +    /**  WAP WSP options */        
   1.750 +    enum TWapWSPOption
   1.751 +        {
   1.752 +        /**
   1.753 +        * Indicates that connectionless APIs should be used
   1.754 +        */
   1.755 +        ECmWapWspOptionConnectionless,
   1.756 +        
   1.757 +        /**
   1.758 +        * Indicates that connection oriented APIs should be used
   1.759 +        */
   1.760 +        ECmWapWspOptionConnectionOriented
   1.761 +        };
   1.762 +       
   1.763 +    }   // namespace CMManager
   1.764 +
   1.765 +#endif // CMCONNECTIONMETHODDEF_H