equal
deleted
inserted
replaced
24 #include <RemConExtensionApi.h> |
24 #include <RemConExtensionApi.h> |
25 #include <RemConCallHandlingTargetObserver.h> |
25 #include <RemConCallHandlingTargetObserver.h> |
26 #include <e32base.h> |
26 #include <e32base.h> |
27 #include <PhCltTypes.h> |
27 #include <PhCltTypes.h> |
28 #include <e32property.h> |
28 #include <e32property.h> |
|
29 #include <ccpdefs.h> |
29 |
30 |
30 // CONSTANTS |
31 // CONSTANTS |
31 |
32 |
32 // MACROS |
33 // MACROS |
33 |
34 |
40 // CLASS DECLARATION |
41 // CLASS DECLARATION |
41 class CRemConInterfaceSelector; |
42 class CRemConInterfaceSelector; |
42 class CRemConCallHandlingTarget; |
43 class CRemConCallHandlingTarget; |
43 class CPhoneHandlerResponse; |
44 class CPhoneHandlerResponse; |
44 class CPhoneHandlerCallState; |
45 class CPhoneHandlerCallState; |
|
46 class CPhoneHandlerCallArray; |
|
47 class MCall; |
45 |
48 |
46 /** |
49 /** |
47 * Receives call handling related key presses from accessories and executes |
50 * Receives call handling related key presses from accessories and executes |
48 * them. |
51 * them. |
49 * |
52 * |
117 */ |
120 */ |
118 CRemConCallHandlingTarget& CommandInitiator() const; |
121 CRemConCallHandlingTarget& CommandInitiator() const; |
119 |
122 |
120 /** |
123 /** |
121 * Informs the latest call state. |
124 * Informs the latest call state. |
122 * @since S60 3.1 |
125 * @since S60 9.2 |
123 * @param aState Call state from KTelephonyCallState P&S key |
126 * @param aCall Call from MCallInformationObserver |
124 * @return void |
127 * @return void |
125 */ |
128 */ |
126 void NotifyCallState( const TInt aState ); |
129 void NotifyCallStateL( const MCall* aCall ); |
127 |
130 |
128 /** |
131 /** |
129 * Get iSwitchCall flag, if this flag is ETrue, it means |
132 * Get iSwitchCall flag, if this flag is ETrue, it means |
130 * "Send" key in remote target is pressed in multiparty call, |
133 * "Send" key in remote target is pressed in multiparty call, |
131 * otherwise EFalse |
134 * otherwise EFalse |
265 RProperty iProperty; |
268 RProperty iProperty; |
266 |
269 |
267 // Previous call state |
270 // Previous call state |
268 TInt iPrevState; |
271 TInt iPrevState; |
269 |
272 |
270 // Number of active calls |
|
271 // Used to determine whether there's a multicall case when call state |
|
272 TInt iActiveCalls; |
|
273 |
|
274 // switch phonecall by press "Send" key |
273 // switch phonecall by press "Send" key |
275 TBool iSwitchCall; |
274 TBool iSwitchCall; |
276 |
275 |
277 // Listens to phone call state changes. |
276 // Listens to phone call state changes. |
278 CPhoneHandlerCallState* iCallStateObserver; |
277 CPhoneHandlerCallState* iCallStateObserver; |
279 |
278 |
|
279 CPhoneHandlerCallArray* iCallArray; |
280 |
280 |
281 public: // Friend classes |
281 public: // Friend classes |
282 |
282 |
283 protected: // Friend classes |
283 protected: // Friend classes |
284 |
284 |