vpnengine/ikeutils/inc/cmutils.h
branchRCL_3
changeset 23 473321461bba
parent 22 9f4e37332ce5
child 24 e06095241a65
equal deleted inserted replaced
22:9f4e37332ce5 23:473321461bba
     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:  CmManager related utility functionality
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CMUTILS_H
       
    19 #define CMUTILS_H
       
    20 
       
    21 #include <e32base.h>
       
    22 #include <vpnapidefs.h>
       
    23 
       
    24 
       
    25 /**
       
    26  * CmManager related utilities.
       
    27  */ 
       
    28 class CmUtils{
       
    29   public:
       
    30     /**
       
    31      * Gets VPN policy id based on VPN access point id.
       
    32      *
       
    33      * @param aVpnApId VPN access point id.
       
    34      * @param aPolId On return, VPN policy id.
       
    35      */
       
    36     IMPORT_C static void GetPolicyIdL(
       
    37       const TUint32 aVpnApId, TVpnPolicyId& aPolId );
       
    38 
       
    39 };
       
    40 
       
    41 
       
    42 #endif  // CMUTILS_H