commsconfig/cscsipvoipcleanupplugin/inc/cscsvcpluginhandler.h
changeset 0 a4daefaec16c
equal deleted inserted replaced
-1:000000000000 0:a4daefaec16c
       
     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_CSCSVCPLUGINHANDLER_H
       
    20 #define C_CSCSVCPLUGINHANDLER_H
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <badesca.h>
       
    24 
       
    25 class CCSCSvcPluginSipHandler;
       
    26 class CCSCSvcPluginRcseHandler;
       
    27 class CCSCSvcPluginCenrepHandler;
       
    28  
       
    29 /**
       
    30  *  An instance of class CCSCSvcPluginHandler.
       
    31  *
       
    32  *  @lib
       
    33  *  @since S60 v3.2
       
    34  */
       
    35 NONSHARABLE_CLASS ( CCSCSvcPluginHandler ) : public CBase
       
    36     {
       
    37     public:
       
    38 
       
    39         static CCSCSvcPluginHandler* NewL();
       
    40 
       
    41         /**
       
    42          * Destructor.
       
    43          */
       
    44         virtual ~CCSCSvcPluginHandler();
       
    45      
       
    46      		
       
    47      		/**
       
    48          * Removes settings based on service id.
       
    49          * Function leaves on failure.
       
    50          *
       
    51          * @since S60 v3.2
       
    52          * @param aServiceId service id
       
    53          */
       
    54         void RemoveSettingsL( TUint32 aServiceId );   
       
    55                 
       
    56     private:
       
    57 
       
    58         CCSCSvcPluginHandler();
       
    59 
       
    60         void ConstructL();
       
    61  
       
    62         
       
    63         /**
       
    64          * Search settings data based on service id.
       
    65          * Function leaves on failure.
       
    66          *
       
    67          * @since S60 v3.2
       
    68          * @param aServiceId service id
       
    69          */
       
    70         void SearchSettingsDataL( TUint32 aServiceId );
       
    71         
       
    72         
       
    73         /**
       
    74          * For removing SIP/VoIP profiles and NAT/FW settings.
       
    75          * Function leaves on failure.
       
    76          *
       
    77          * @since S60 v3.2
       
    78          * @param aServiceId service id
       
    79          */
       
    80         void RemoveProfilesL( TUint32 aServiceId );
       
    81         
       
    82         
       
    83     private: // data
       
    84     
       
    85         /*
       
    86          * Handles events concerning Richcall Setting Engine.
       
    87          * Own.
       
    88          */
       
    89         CCSCSvcPluginRcseHandler* iRcseHandler;
       
    90         
       
    91         /*
       
    92          * Handles events concerning SIP Profile Registry.
       
    93          * Own.
       
    94          */
       
    95         CCSCSvcPluginSipHandler* iSipHandler;
       
    96         
       
    97         /*
       
    98          * Handles events concerning Central Repository.
       
    99          * Own.
       
   100          */
       
   101         CCSCSvcPluginCenrepHandler* iCenRepHandler;
       
   102     
       
   103         /*
       
   104          * VoIP profile id.
       
   105          */
       
   106         TUint32 iVoIPProfileId;
       
   107         
       
   108         /*
       
   109          * SIP profile ids appended to the VoIP profile.
       
   110          * Own.
       
   111          */
       
   112         RArray<TUint32> iSipProfileIds;
       
   113         
       
   114         /*
       
   115          * IAP ids linked to SIP profile ids.
       
   116          * Own.
       
   117          */
       
   118         RArray<TUint32> iIapIds;
       
   119         
       
   120         /*
       
   121          * SNAP ID
       
   122          * Own.
       
   123          */
       
   124         TInt iSNAPId;
       
   125         
       
   126         /*
       
   127          * Presence ID
       
   128          * Own.
       
   129          */
       
   130         TInt iPresenceId;
       
   131         
       
   132         /*
       
   133          * Domain names linked to SIP profile ids.
       
   134          * Own.
       
   135          */
       
   136         CDesC8ArrayFlat* iDomainNames;
       
   137         
       
   138         
       
   139     };
       
   140 
       
   141 #endif  // C_CSCSVCPLUGINHANDLER_H