cmconnectionmethoddef.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : cmconnectionmethoddef.h
00004 *  Part of     : Networking Utilities / Connection Method Manager
00005 *  Description : Definition of attributes used by every Connection Methods.
00006 *  Version     : %version: 24.1.1 %
00007 *
00008 *  Copyright © 2006 Nokia.  All rights reserved.
00009 *  This material, including documentation and any related computer
00010 *  programs, is protected by copyright controlled by Nokia.  All
00011 *  rights are reserved.  Copying, including reproducing, storing,
00012 *  adapting or translating, any or all of this material requires the
00013 *  prior written consent of Nokia.  This material also contains
00014 *  confidential information which may not be disclosed to others
00015 *  without the prior written consent of Nokia.
00016 * ==============================================================================
00017 */
00018 #ifndef CMCONNECTIONMETHODDEF_H
00019 #define CMCONNECTIONMETHODDEF_H
00020 
00021 // INCLUDES
00022 #include <e32base.h>
00023 
00024 // CONSTANTS
00025 
00026 // Beginning of the CMManager enum range (internal use)
00027 const TUint KLanBaseSpecificAttributes = 20000;
00028 const TUint KLanBaseIfNetworks = 20100; 
00029 // End of the CMManager enum range (internal use)
00030 const TUint KLanBaseRangeMax = 29999;
00031 
00033 const TUint KCMPluginInterfaceUid = 0x10207377;
00034 
00035 namespace CMManager
00036     {
00037     //Enumeration for possible values of seamlessness field 
00038     //in IAP Metadata table 
00040     enum TNamingMethod
00041         {
00042         ENamingNothing,     
00043         ENamingUnique,      
00044         ENamingNotAccept    
00045 
00046         };
00047     
00048     // Enumeration for IPv6 types
00049     enum TIPv6Types
00050         {
00051         EIPv6Unspecified,   
00052         EIPv6WellKnown,     
00053         EIPv6UserDefined    
00054         };
00055     
00056     enum TSeamlessnessValue
00057         {
00058         ESeamlessnessNotRoamedTo,   // NOT supported
00059         ESeamlessnessConfirmFirst,  // Confirm first
00060         ESeamlessnessShowprogress,  // Shows progress
00061         ESeamlessnessFullySeamless  // NOT supported
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         // These attributes can be used with virtual bearer type
00329         // connection methods.
00330         ECmNextLayerIapId,      
00335         ECmNextLayerSNAPId,     
00340         // Proxy attributes
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         // WAP specific attributes
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     }   // namespace CMManager
00760 
00761 // CMCONNECTIONMETHODDEF_H
00762 #endif

Copyright © Nokia Corporation 2001-2008
Back to top