1 /* |
|
2 * Copyright (c) 2002-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: This file contains the header file of the CPEParserSSCallHandler |
|
15 * class |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef CPEPARSERSSCALLHANDLER_H |
|
21 #define CPEPARSERSSCALLHANDLER_H |
|
22 |
|
23 //INCLUDES |
|
24 #include <cphonegsmsscallhandler.h> |
|
25 #include <pevirtualengine.h> |
|
26 |
|
27 // CONSTANTS |
|
28 // None. |
|
29 |
|
30 // MACROS |
|
31 // None. |
|
32 |
|
33 // DATA TYPES |
|
34 // None. |
|
35 |
|
36 // FUNCTION PROTOTYPES |
|
37 // None. |
|
38 |
|
39 // FORWARD DECLARATIONS |
|
40 class CPEMessageHandler; |
|
41 class CPEGsmPhoneData; |
|
42 class MPEPhoneModelInternal; |
|
43 class CPEManualCallControlHandler; |
|
44 |
|
45 // CLASS DECLARATION |
|
46 |
|
47 /** |
|
48 * Provides processing for supplementary service related Phone Parser requests |
|
49 * |
|
50 * @lib phoneenginegsm.lib |
|
51 * @since Series 60 4.0 |
|
52 */ |
|
53 NONSHARABLE_CLASS( CPEParserSSCallHandler ) : public CPhoneGsmSsCallHandler |
|
54 { |
|
55 public: //Constructors and descructor |
|
56 /** |
|
57 * C++ default constructor. |
|
58 */ |
|
59 CPEParserSSCallHandler( |
|
60 CPEMessageHandler& aOwner, |
|
61 MPEPhoneModelInternal& aModel, |
|
62 CPEManualCallControlHandler& aManualCallControlHandler ); |
|
63 |
|
64 /** |
|
65 * Destructor. |
|
66 */ |
|
67 virtual ~CPEParserSSCallHandler(); |
|
68 |
|
69 public: // Functions from base classes |
|
70 |
|
71 /** |
|
72 * Ends a call and accepts another. |
|
73 * |
|
74 * Command: 1 SEND. |
|
75 * @param None. |
|
76 * @return None. |
|
77 */ |
|
78 void ProcessEndAndAcceptL(); |
|
79 |
|
80 /** |
|
81 * End specific active call. |
|
82 * |
|
83 * Command: 1X SEND. |
|
84 * @param aCallNo, the number of the call |
|
85 * @return None. |
|
86 */ |
|
87 void ProcessEndCallL( TInt aCallNo ); |
|
88 |
|
89 /** |
|
90 * Reject a call. |
|
91 * |
|
92 * Command: 0 SEND. |
|
93 * @param None. |
|
94 * @return None. |
|
95 */ |
|
96 void ProcessEndOrRejectL(); |
|
97 |
|
98 /** |
|
99 * Perform explicit call transfer |
|
100 * |
|
101 * Command: 4 SEND. |
|
102 * @param None. |
|
103 * @return None. |
|
104 */ |
|
105 void ProcessExplicitCallTransferL(); |
|
106 |
|
107 /** |
|
108 * Hold all active calls except specific call. |
|
109 * |
|
110 * Command: 2X SEND. |
|
111 * @param None. |
|
112 * @return None. |
|
113 */ |
|
114 void ProcessHoldAllCallsExceptL( TInt aCallNo ); |
|
115 |
|
116 /** |
|
117 * Join two calls to conference. |
|
118 * |
|
119 * Command: 3 SEND. |
|
120 * @param aCallNo, the number of the call. |
|
121 * @return None. |
|
122 */ |
|
123 void ProcessJoinL(); |
|
124 |
|
125 /** |
|
126 * Swap |
|
127 * |
|
128 * Command: 2 SEND. |
|
129 * @param None. |
|
130 * @return None. |
|
131 */ |
|
132 void ProcessSwapL(); |
|
133 |
|
134 private: |
|
135 // CPEMessageHandler object which owns this requester. |
|
136 CPEMessageHandler& iOwner; |
|
137 // MPEPhoneModelInternal is used to send message to the phone application |
|
138 MPEPhoneModelInternal& iModel; |
|
139 // Manual Call Control Handler |
|
140 CPEManualCallControlHandler& iManualCallControlHandler; |
|
141 }; |
|
142 |
|
143 #endif // CPEPARSERSSCALLHANDLER_H |
|
144 |
|
145 // End of File |
|