ipcm_pub/connection_settings_api/inc/cmpluginvpndef.h
changeset 0 5a93021fdf25
child 24 05bc53fe583b
equal deleted inserted replaced
-1:000000000000 0:5a93021fdf25
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Attributes for VPN plug-in.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef VPN_PLUGIN_DEF_H
       
    19 #define VPN_PLUGIN_DEF_H
       
    20 
       
    21 #include <cmconnectionmethoddef.h>
       
    22 
       
    23 /**  ECOM interface UID */
       
    24 const TUint KPluginVPNBearerTypeUid = 0x10281BBD;
       
    25 
       
    26 namespace CMManager
       
    27     {
       
    28     /**
       
    29      VPN specific attributes
       
    30      
       
    31      Note: ECmProxyPortNumber is a common bearer attribute, but its  default
       
    32      value varies in the VPN plug-in, where it is 80
       
    33      
       
    34      Note2: VPN, as it is a virtual plugin, does not supports the following 
       
    35      common attributes (these are valid only for real bearers):
       
    36             ECmIFName,                  ECmIFParams,        
       
    37             ECmIFNetworks,              ECmIFPromptForAuth,
       
    38             ECmIFAuthName,              ECmIFAuthPass,
       
    39             ECmIFAuthRetries,           ECmIPNetmask,
       
    40             ECmIPGateway,               ECmIPAddFromServer,
       
    41             ECmIPAddress,               ECmIPDNSAddrFromServer,
       
    42             ECmIPNameServer1,           ECmIPNameServer2,   
       
    43             ECmIP6DNSAddrFromServer,    ECmIP6NameServer1,
       
    44             ECmIP6NameServer2,          ECmIPAddrLeaseValidFrom,
       
    45             ECmIPAddrLeaseValidTo,      ECmConfigDaemonManagerName,
       
    46             ECmConfigDaemonName,        ECmEnableLPCExtension,
       
    47             ECmDisablePlainTextAuth
       
    48      Querying these will leave with KErrNotSupported.
       
    49      */
       
    50     enum TConnectionMethodVpnSpecificAttributes
       
    51         {
       
    52         EPluginVpnAttribStart = 30000,  /**<
       
    53                                         * Marks the beginning of the VPN
       
    54                                         * attributes.
       
    55                                         */
       
    56         
       
    57         EVpnServicePolicyName = 30100,  /**<
       
    58                                         * Policy name.
       
    59                                         * (String - default: None)
       
    60                                         */
       
    61                                         
       
    62         EVpnServicePolicy,              /**<
       
    63                                         * Policy.
       
    64                                         * (String - default: None)
       
    65                                         */
       
    66 
       
    67 
       
    68         EVpnIapId,                      /**<
       
    69                                         * Home IAP Id.
       
    70                                         * (TUint32 - default: None)
       
    71                                         */
       
    72 
       
    73         EVpnNetworkId,                  /**<
       
    74                                         * Network Id.
       
    75                                         * (TUint32 - default: None - read only)
       
    76                                         */
       
    77                                         
       
    78         EVpnServiceEnableLLMNR,         /**<
       
    79                                         * LLMNR
       
    80                                         * (TBool - default: EFalse)
       
    81                                         */
       
    82 
       
    83         EPluginVpnAttribRangeMax = 39999    /**<
       
    84                                             * Marks the end of the VPN
       
    85                                             * attributes.
       
    86                                             */
       
    87         };
       
    88     } // namespace CMManager
       
    89     
       
    90 #endif // VPN_PLUGIN_DEF_H