vpnengine/vpncleaner/inc/vpncleaner.h
changeset 0 33413c0669b9
equal deleted inserted replaced
-1:000000000000 0:33413c0669b9
       
     1 /*
       
     2 * Copyright (c) 2009 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:   Cleans vpn settings
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __VPNCLEANER_H__
       
    19 #define __VPNCLEANER_H__
       
    20 
       
    21 
       
    22 class RCmManagerExt;
       
    23 
       
    24 
       
    25 class TVpnCleaner{
       
    26   public:
       
    27     TVpnCleaner();
       
    28     ~TVpnCleaner();
       
    29  
       
    30     /**
       
    31      * Cleans vpn settings
       
    32      */
       
    33     void Clean();
       
    34 
       
    35   private:
       
    36     /**
       
    37      * Removes vpn access points
       
    38      */
       
    39     void CleanAPsL();
       
    40 
       
    41     /**
       
    42      * Removes vpn access points
       
    43      */
       
    44     void DelAPsL( RCmManagerExt& aCm );
       
    45 };
       
    46 
       
    47 
       
    48 #endif  // __VPNCLEANER_H__