convergedcallengine/csplugin/inc/cspservicesettingshandler.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:15:03 +0100
branchRCL_3
changeset 20 987c9837762f
parent 0 ff3b6d0fd310
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Header of CSPServiceSettingsHandler
*
*/


#ifndef CSPSERVICESETTINGSHANDLER_H
#define CSPSERVICESETTINGSHANDLER_H

#include <e32base.h>

#include "rcsplinecontainer.h"

/**
* Makes asynchronic request to ETel interface according to given request type.
* Provides canceling via CActive::Cancel().
* 
*/
class CSPServiceSettingsHandler: public CBase   
    {
    public:
    
        /**
        * Two phased constructing of the DTMF provider instance.
        * @return the instance to service settings handler
        */
        static CSPServiceSettingsHandler* NewL( );
        
        
        /**
        * C++ default destructor
        */
        virtual ~CSPServiceSettingsHandler( );
        
        /**
        * Find service ID by name.
        * @since S60 3.2
        * @param aName the name of service
        * @param aServiceId service ID
        */
        void FindByNameL( const TDesC& aName, TUint32& aServiceId );        
                             
        /**
        * Find CS service ID.
        * @param aServiceId the service id as output
        * @return error code if read was not succesfull
        */
        TInt ReadCSServiceId( TUint32& aServiceId );

        
        
    private:
        /**
        * Constructs the requester.
        *
        */
        CSPServiceSettingsHandler(  );
        
        /**
        * Constructing the provider in the second phase.
        */
        void ConstructL();
    
    private: // data
    
        
        
    };
    
#endif // CSPSERVICESETTINGSHANDLER