1 /* |
|
2 * Copyright (c) 2008 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: Declares interface for service enabling. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef MPESERVICEHANDLING_H |
|
21 #define MPESERVICEHANDLING_H |
|
22 |
|
23 //INCLUDES |
|
24 |
|
25 // CLASS DECLARATION |
|
26 |
|
27 /** |
|
28 * Declares interface for service enabling. |
|
29 * |
|
30 * This interface offers the service enabling and service status error |
|
31 * checking services for Phone Engine. VoIP service needs to be enabled |
|
32 * before it's possible to make a VoIP call. |
|
33 * |
|
34 * @lib peservicehandling.lib |
|
35 */ |
|
36 class MPEServiceHandling |
|
37 { |
|
38 public: |
|
39 |
|
40 /** |
|
41 * Destructor. |
|
42 */ |
|
43 virtual ~MPEServiceHandling( ) { }; |
|
44 |
|
45 /** |
|
46 * Enables service defined by the given identifier. |
|
47 * This function does the service enabling and service status error checking. |
|
48 * If service is enabled successfully, send message |
|
49 * (EPEMessageServiceEnabled) to PhoneEngine. |
|
50 * |
|
51 * @param aServiceId Identifier of the service. |
|
52 */ |
|
53 virtual void EnableServiceL( TInt aServiceId ) = 0; |
|
54 |
|
55 /** |
|
56 * Cancel current service enabling, if service connecting state. |
|
57 */ |
|
58 virtual void CancelServiceEnabling() const = 0; |
|
59 |
|
60 /** |
|
61 * Disable service. |
|
62 */ |
|
63 virtual void DisableService() const = 0; |
|
64 |
|
65 }; |
|
66 |
|
67 #endif // MPESERVICEHANDLING_H |
|
68 |
|
69 //End of file |
|