equal
deleted
inserted
replaced
246 // |
246 // |
247 void CPhoneConferenceAndCallSetup::HandleConnectingL( TInt aCallId ) |
247 void CPhoneConferenceAndCallSetup::HandleConnectingL( TInt aCallId ) |
248 { |
248 { |
249 __LOGMETHODSTARTEND(EPhoneControl, "CPhoneConferenceAndCallSetup::HandleConnectingL()"); |
249 __LOGMETHODSTARTEND(EPhoneControl, "CPhoneConferenceAndCallSetup::HandleConnectingL()"); |
250 |
250 |
251 TransitionHandlerL().BeginUiUpdateLC(); |
251 BeginUiUpdateLC(); |
252 |
252 |
253 UpdateRemoteInfoDataL ( aCallId ); |
253 UpdateRemoteInfoDataL ( aCallId ); |
254 |
254 |
255 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveGlobalNote ); |
255 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveGlobalNote ); |
256 |
256 |
257 // Re-enable global notes |
257 // Re-enable global notes |
258 TPhoneCmdParamBoolean globalNotifierParam; |
258 EnableGlobalNotifiersL(); |
259 globalNotifierParam.SetBoolean( EFalse ); |
|
260 iViewCommandHandle->ExecuteCommandL( EPhoneViewSetGlobalNotifiersDisabled, |
|
261 &globalNotifierParam ); |
|
262 |
259 |
263 // Stop capturing keys |
260 // Stop capturing keys |
264 CaptureKeysDuringCallNotificationL( EFalse ); |
261 CaptureKeysDuringCallNotificationL( EFalse ); |
265 |
262 |
266 // Remove the number entry if it isn't DTMF dialer |
263 // Remove the number entry if it isn't DTMF dialer |
280 TPhoneCmdParamCallHeaderData callHeaderParam; |
277 TPhoneCmdParamCallHeaderData callHeaderParam; |
281 callHeaderParam.SetCallState( EPEStateConnecting ); |
278 callHeaderParam.SetCallState( EPEStateConnecting ); |
282 iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateBubble, aCallId, |
279 iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateBubble, aCallId, |
283 &callHeaderParam ); |
280 &callHeaderParam ); |
284 |
281 |
285 TransitionHandlerL().EndUiUpdate(); |
282 EndUiUpdate(); |
286 } |
283 } |
287 |
284 |
288 // ----------------------------------------------------------- |
285 // ----------------------------------------------------------- |
289 // CPhoneConferenceAndCallSetup::HandleConnectedL |
286 // CPhoneConferenceAndCallSetup::HandleConnectedL |
290 // ----------------------------------------------------------- |
287 // ----------------------------------------------------------- |
294 __LOGMETHODSTARTEND(EPhoneControl, "CPhoneConferenceAndCallSetup::HandleConnectedL()"); |
291 __LOGMETHODSTARTEND(EPhoneControl, "CPhoneConferenceAndCallSetup::HandleConnectedL()"); |
295 |
292 |
296 // Close menu bar, if it is displayed |
293 // Close menu bar, if it is displayed |
297 iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose ); |
294 iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose ); |
298 |
295 |
299 TransitionHandlerL().BeginUiUpdateLC(); |
296 BeginUiUpdateLC(); |
300 |
297 |
301 // Show bubble |
298 // Show bubble |
302 TPhoneCmdParamCallHeaderData callHeaderParam; |
299 TPhoneCmdParamCallHeaderData callHeaderParam; |
303 callHeaderParam.SetCallState( EPEStateConnected ); |
300 callHeaderParam.SetCallState( EPEStateConnected ); |
304 iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateBubble, aCallId, |
301 iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateBubble, aCallId, |
314 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNumberEntry ); |
311 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNumberEntry ); |
315 } |
312 } |
316 |
313 |
317 SetTouchPaneButtons( EPhoneConferenceAndSingleButtons ); |
314 SetTouchPaneButtons( EPhoneConferenceAndSingleButtons ); |
318 SetTouchPaneButtonDisabled( EPhoneInCallCmdPrivate ); |
315 SetTouchPaneButtonDisabled( EPhoneInCallCmdPrivate ); |
319 TransitionHandlerL().EndUiUpdate(); |
316 EndUiUpdate(); |
320 |
317 |
321 UpdateCbaL ( EPhoneCallHandlingNewCallSwapCBA ); |
318 UpdateCbaL ( EPhoneCallHandlingNewCallSwapCBA ); |
322 |
319 |
323 iStateMachine->ChangeState( EPhoneStateConferenceAndSingle ); |
320 iStateMachine->ChangeState( EPhoneStateConferenceAndSingle ); |
324 } |
321 } |
330 void CPhoneConferenceAndCallSetup::HandleIdleL( TInt aCallId ) |
327 void CPhoneConferenceAndCallSetup::HandleIdleL( TInt aCallId ) |
331 { |
328 { |
332 __LOGMETHODSTARTEND( EPhoneUIStates, |
329 __LOGMETHODSTARTEND( EPhoneUIStates, |
333 "CPhoneConferenceAndCallSetup::HandleIdleL()"); |
330 "CPhoneConferenceAndCallSetup::HandleIdleL()"); |
334 // Re-enable global notes |
331 // Re-enable global notes |
335 TPhoneCmdParamBoolean globalNotifierParam; |
332 EnableGlobalNotifiersL(); |
336 globalNotifierParam.SetBoolean( EFalse ); |
|
337 iViewCommandHandle->ExecuteCommandL( EPhoneViewSetGlobalNotifiersDisabled, |
|
338 &globalNotifierParam ); |
|
339 |
333 |
340 // Stop capturing keys |
334 // Stop capturing keys |
341 CaptureKeysDuringCallNotificationL( EFalse ); |
335 CaptureKeysDuringCallNotificationL( EFalse ); |
342 |
336 |
343 // Close menu bar, if it is displayed |
337 // Close menu bar, if it is displayed |
379 } |
373 } |
380 } |
374 } |
381 else |
375 else |
382 { |
376 { |
383 // Remove outgoing call |
377 // Remove outgoing call |
384 TransitionHandlerL().BeginTransEffectLC( EPhoneTransEffectPhoneUiOpen ); |
378 BeginTransEffectLC( ENumberEntryOpen ); |
385 TransitionHandlerL().BeginUiUpdateLC(); |
379 BeginUiUpdateLC(); |
386 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId ); |
380 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId ); |
387 CheckIfRestoreNEContentAfterDtmfDialer(); |
381 CheckIfRestoreNEContentAfterDtmfDialer(); |
388 if ( IsNumberEntryUsedL() ) |
382 if ( IsNumberEntryUsedL() ) |
389 { |
383 { |
390 // Show the number entry if it exists |
384 // Show the number entry if it exists |
391 SetNumberEntryVisibilityL(ETrue); |
385 SetNumberEntryVisibilityL(ETrue); |
392 } |
386 } |
393 |
387 |
394 SetTouchPaneButtons( EPhoneConferenceButtons ); |
388 SetTouchPaneButtons( EPhoneConferenceButtons ); |
395 TransitionHandlerL().EndUiUpdateAndEffect(); |
389 EndUiUpdate(); |
|
390 EndTransEffect(); |
396 UpdateCbaL( EPhoneCallHandlingInCallCBA ); |
391 UpdateCbaL( EPhoneCallHandlingInCallCBA ); |
397 iStateMachine->ChangeState( EPhoneStateConference ); |
392 iStateMachine->ChangeState( EPhoneStateConference ); |
398 } |
393 } |
399 } |
394 } |
400 |
395 |