|
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 * This class is virtual abstract class for setting/cancelling and |
|
16 * inquiring divert(s). |
|
17 * |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 #ifndef MPSETCALLDIVERTING_H |
|
23 #define MPSETCALLDIVERTING_H |
|
24 |
|
25 // INCLUDES |
|
26 #include <e32base.h> |
|
27 #include <nwdefs.h> |
|
28 |
|
29 // CLASS DEFINITIONS |
|
30 /** |
|
31 * MPsetCallDiverting class is virtual class for Diverting. |
|
32 * @lib phonesettings.lib |
|
33 * @since 1.0 |
|
34 */ |
|
35 class MPsetCallDiverting |
|
36 { |
|
37 public: |
|
38 |
|
39 /** |
|
40 * Sets diverting to the network. |
|
41 * |
|
42 * @param aDivert New divert settings. |
|
43 * @param aBsc List of basic service groups . |
|
44 * @param aVmbx Divert to voice mailbox number. |
|
45 */ |
|
46 virtual void SetDivertingL( const TCallDivertSetting& aDivert, |
|
47 TBasicServiceGroups aBsc, TBool aVmbx ) = 0; |
|
48 |
|
49 /** |
|
50 * Checks the diverting status from network. |
|
51 * |
|
52 * @param aServiceGroup Service group indication. |
|
53 * @param aCondition Diverting conditions. |
|
54 * @param aBsc List of basic service groups. |
|
55 */ |
|
56 virtual void GetDivertingStatusL( const TServiceGroup aServiceGroup, |
|
57 const TCallDivertingCondition aCondition, |
|
58 TBasicServiceGroups aBsc ) = 0; |
|
59 |
|
60 /** |
|
61 * Cancels current request. |
|
62 * |
|
63 * @return Returns error code. |
|
64 */ |
|
65 virtual TInt CancelCurrentRequest() = 0; |
|
66 |
|
67 }; |
|
68 |
|
69 #endif // MPSETCALLDIVERTING_H |
|
70 // End of File |