|
1 /* |
|
2 * Copyright (c) 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: Header of CSPServiceSettingsHandler |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CSPSERVICESETTINGSHANDLER_H |
|
20 #define CSPSERVICESETTINGSHANDLER_H |
|
21 |
|
22 #include <e32base.h> |
|
23 |
|
24 #include "rcsplinecontainer.h" |
|
25 |
|
26 /** |
|
27 * Makes asynchronic request to ETel interface according to given request type. |
|
28 * Provides canceling via CActive::Cancel(). |
|
29 * |
|
30 */ |
|
31 class CSPServiceSettingsHandler: public CBase |
|
32 { |
|
33 public: |
|
34 |
|
35 /** |
|
36 * Two phased constructing of the DTMF provider instance. |
|
37 * @return the instance to service settings handler |
|
38 */ |
|
39 static CSPServiceSettingsHandler* NewL( ); |
|
40 |
|
41 |
|
42 /** |
|
43 * C++ default destructor |
|
44 */ |
|
45 virtual ~CSPServiceSettingsHandler( ); |
|
46 |
|
47 /** |
|
48 * Find service ID by name. |
|
49 * @since S60 3.2 |
|
50 * @param aName the name of service |
|
51 * @param aServiceId service ID |
|
52 */ |
|
53 void FindByNameL( const TDesC& aName, TUint32& aServiceId ); |
|
54 |
|
55 /** |
|
56 * Find CS service ID. |
|
57 * @param aServiceId the service id as output |
|
58 * @return error code if read was not succesfull |
|
59 */ |
|
60 TInt ReadCSServiceId( TUint32& aServiceId ); |
|
61 |
|
62 |
|
63 |
|
64 private: |
|
65 /** |
|
66 * Constructs the requester. |
|
67 * |
|
68 */ |
|
69 CSPServiceSettingsHandler( ); |
|
70 |
|
71 /** |
|
72 * Constructing the provider in the second phase. |
|
73 */ |
|
74 void ConstructL(); |
|
75 |
|
76 private: // data |
|
77 |
|
78 |
|
79 |
|
80 }; |
|
81 |
|
82 #endif // CSPSERVICESETTINGSHANDLER |