1 /* |
|
2 * Copyright (c) 2002 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 * MPsetCallWaiting defines interface to get and set call waiting setting |
|
16 * in the network. All the methods are asynchronous. Observer handles |
|
17 * completion. |
|
18 * |
|
19 * |
|
20 */ |
|
21 |
|
22 |
|
23 #ifndef MPSETCALLWAITING_H |
|
24 #define MPSETCALLWAITING_H |
|
25 |
|
26 // INCLUDES |
|
27 #include <e32base.h> |
|
28 #include <nwdefs.h> |
|
29 |
|
30 // FORWARD DECLARATIONS |
|
31 class MPsetCallWaitingObserver; |
|
32 |
|
33 // CLASS DEFINITIONS |
|
34 /** |
|
35 * MPsetCallWaiting class is virtual class for Call Waiting. |
|
36 * @lib phonesettings.lib |
|
37 * @since 1.0 |
|
38 */ |
|
39 class MPsetCallWaiting |
|
40 { |
|
41 public: |
|
42 |
|
43 // Call waiting action |
|
44 enum TSetCallWaiting |
|
45 { |
|
46 EActivateCallWaiting, |
|
47 EDeactivateCallWaiting |
|
48 }; |
|
49 |
|
50 // Call waiting status |
|
51 enum TGetCallWaitingStatus |
|
52 { |
|
53 EStatusActive, |
|
54 EStatusDisabled, |
|
55 EStatusNotAvailable, |
|
56 EStatusNotProvisioned, |
|
57 EStatusUnknown |
|
58 }; |
|
59 |
|
60 public: |
|
61 |
|
62 /** |
|
63 * Sets call waiting to the network. |
|
64 * |
|
65 * @param aSetting New settings for the Call Waiting. |
|
66 * @param aBsc Basic service group concerned. |
|
67 */ |
|
68 virtual void SetCallWaitingL( |
|
69 MPsetCallWaiting::TSetCallWaiting aSetting, |
|
70 TBasicServiceGroups aBsc ) = 0; |
|
71 |
|
72 /** |
|
73 * Checks the call waiting status from network. |
|
74 */ |
|
75 virtual void GetCallWaitingStatusL()=0; |
|
76 |
|
77 /** |
|
78 * Cancels the call waiting-request process. |
|
79 */ |
|
80 virtual TInt CancelProcess()=0; |
|
81 }; |
|
82 |
|
83 #endif // MPSETCALLWAITING_H |
|
84 // end of file |
|