convergedcallengine/csplugin/inc/cspservicesettingshandler.h
branchRCL_3
changeset 20 987c9837762f
parent 0 ff3b6d0fd310
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/convergedcallengine/csplugin/inc/cspservicesettingshandler.h	Wed Sep 01 12:15:03 2010 +0100
@@ -0,0 +1,82 @@
+/*
+* 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
\ No newline at end of file