|
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: It is base handler for supplementary services during calls. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CPHONEGSMSSCALLHANDLER_H |
|
20 #define CPHONEGSMSSCALLHANDLER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include "CPhoneGsmHandlerBase.h" |
|
24 |
|
25 // CLASS DECLARATION |
|
26 |
|
27 /** |
|
28 * It is base handler for supplementary services during calls. |
|
29 * |
|
30 * @since 1.0 |
|
31 * @lib phoneparser.lib |
|
32 */ |
|
33 class CPhoneGsmSsCallHandler |
|
34 : public CPhoneGsmHandlerBase |
|
35 { |
|
36 public: // New functions |
|
37 |
|
38 /** |
|
39 * Reject a call. |
|
40 * |
|
41 * Command: 0 SEND. |
|
42 */ |
|
43 virtual void ProcessEndOrRejectL() = 0; |
|
44 |
|
45 /** |
|
46 * Ends a call and accepts another. |
|
47 * |
|
48 * Command: 1 SEND. |
|
49 */ |
|
50 virtual void ProcessEndAndAcceptL() = 0; |
|
51 |
|
52 /** |
|
53 * End specific active call. |
|
54 * |
|
55 * Command: 1X SEND. |
|
56 * |
|
57 * @param aCallNo index of call, X in 1X. |
|
58 */ |
|
59 virtual void ProcessEndCallL( TInt aCallNo ) = 0; |
|
60 |
|
61 /** |
|
62 * Hold all active calls except specific call. |
|
63 * |
|
64 * Command: 2X SEND. |
|
65 * |
|
66 * @param aCallNo index of call, X in 2X. |
|
67 */ |
|
68 virtual void ProcessHoldAllCallsExceptL( TInt aCallNo ) = 0; |
|
69 |
|
70 /** |
|
71 * Swap |
|
72 * |
|
73 * Command: 2 SEND. |
|
74 */ |
|
75 virtual void ProcessSwapL() = 0; |
|
76 |
|
77 /** |
|
78 * Join two calls to conference. |
|
79 * |
|
80 * Command: 3 SEND. |
|
81 */ |
|
82 virtual void ProcessJoinL() = 0; |
|
83 |
|
84 /** |
|
85 * Perform explicit call transfer |
|
86 * |
|
87 * Command: 4 SEND. |
|
88 */ |
|
89 virtual void ProcessExplicitCallTransferL() = 0; |
|
90 |
|
91 public: // Functions from base classes |
|
92 |
|
93 /** |
|
94 * From CPhoneGsmHandlerBase, processes result. |
|
95 * |
|
96 * @param aResult It is to be processed. |
|
97 */ |
|
98 IMPORT_C virtual void ProcessL( CPhoneGsmParserResult& aResult ); |
|
99 }; |
|
100 |
|
101 #endif // CPHONEGSMSSCALLHANDLER_H |
|
102 |
|
103 // End of File |