commsconfig/cscsipvoipcleanupplugin/inc/cscsvcplugincenrephandler.h
branchRCL_3
changeset 21 f742655b05bf
parent 20 65a3ef1d5bd0
child 22 d38647835c2e
equal deleted inserted replaced
20:65a3ef1d5bd0 21:f742655b05bf
     1 /*
       
     2 * Copyright (c) 2007-2007 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:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_CSCSVCPLUGINCENREPHANDLER_H
       
    20 #define C_CSCSVCPLUGINCENREPHANDLER_H
       
    21 
       
    22 
       
    23 class CRepository;
       
    24 
       
    25 
       
    26 /**
       
    27  *  An instance of class CCSCSvcPluginCenrepHandler.
       
    28  *
       
    29  *  @lib
       
    30  *  @since S60 v3.2
       
    31  */
       
    32 NONSHARABLE_CLASS (CCSCSvcPluginCenrepHandler) : public CBase
       
    33     {
       
    34     public:
       
    35 
       
    36         static CCSCSvcPluginCenrepHandler* NewL();
       
    37 
       
    38 				/**
       
    39          * Destructor.
       
    40          */
       
    41         ~CCSCSvcPluginCenrepHandler();
       
    42 
       
    43 
       
    44         /**
       
    45          * Destroys IAP spesific NAT/FW settings based on IAP id.
       
    46          * Function leaves on failure.
       
    47          *
       
    48          * @since S60 v3.2
       
    49          * @param aIapId for IAP id
       
    50          */
       
    51         void RemoveIapSpecificNatfwSettingsL( TInt aIapId );
       
    52 
       
    53 
       
    54         /**
       
    55          * Destroys Domain spesific NAT/FW settings based on domain name.
       
    56          * Function leaves on failure.
       
    57          *
       
    58          * @since S60 v3.2
       
    59          * @param aIapId for IAP id
       
    60          */
       
    61         void RemoveDomainSpecificNatfwSettingsL( const TDesC8& aDomainName );
       
    62 
       
    63 
       
    64     private:
       
    65                 
       
    66         CCSCSvcPluginCenrepHandler();
       
    67 
       
    68         void ConstructL();
       
    69 
       
    70     
       
    71     private: // data
       
    72             
       
    73         /*
       
    74          * Handle to NAT/FW repository.
       
    75          * Own.
       
    76          */
       
    77         CRepository* iNatfwRepository;      
       
    78     };
       
    79 
       
    80 #endif  // C_CSCSVCPLUGINCENREPHANDLER_H
       
    81 
       
    82