ipcm_plat/mpm_vpn_toggle_api/inc/mpmvpntoggleapi.h
changeset 47 cb7afde124a3
equal deleted inserted replaced
46:95d45f234cf3 47:cb7afde124a3
       
     1 /*
       
     2 * Copyright (c) 2010 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: Defines central repository key for VPN toggle
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MPMVPNTOGGLEAPI_H
       
    19 #define MPMVPNTOGGLEAPI_H
       
    20 
       
    21 /**
       
    22  * The UID of the repository to be accessed.
       
    23  */
       
    24 const TUid KMpmVpnToggleCenRepUid = {0x20016A88}; 
       
    25 
       
    26 /**
       
    27  * This key contains value, which defines if VPN connection is preferred
       
    28  * connection. Client can set this value if it has WriteDeviceData and
       
    29  * NetworkControl capabilities.
       
    30  */
       
    31 const TUint32 KMpmVpnTogglePreferVpn = 0x00000001;
       
    32 
       
    33 /**
       
    34  * This key contains VPN IAP Id value for VPN IAP which is used to establish
       
    35  * VPN connection, when VPN connection is preferred. Client can set this value
       
    36  * if it has WriteDeviceData and NetworkControl capabilities. TUint32 value
       
    37  * needs to be converted from TInt.
       
    38  */
       
    39 const TUint32 KMpmVpnToggleIapId = 0x00000002;
       
    40 
       
    41 /**
       
    42  * This key contains SNAP Id value SNAP which is used to establish VPN
       
    43  * connection, when VPN connection is preferred. Client can set this value
       
    44  * if it has WriteDeviceData and NetworkControl capabilities. TUint32 value
       
    45  * needs to be converted from TInt.
       
    46  */
       
    47 const TUint32 KMpmVpnToggleSnapId = 0x00000003;
       
    48 
       
    49 #endif // MPMVPNTOGGLEAPI_H