equal
deleted
inserted
replaced
295 void CPhoneConferenceAndWaitingAndCallSetup::HandleConnectingL( TInt aCallId ) |
295 void CPhoneConferenceAndWaitingAndCallSetup::HandleConnectingL( TInt aCallId ) |
296 { |
296 { |
297 __LOGMETHODSTARTEND( EPhoneUIStates, |
297 __LOGMETHODSTARTEND( EPhoneUIStates, |
298 "CPhoneConferenceAndWaitingAndCallSetup::HandleConnectingL"); |
298 "CPhoneConferenceAndWaitingAndCallSetup::HandleConnectingL"); |
299 |
299 |
300 TransitionHandlerL().BeginUiUpdateLC(); |
300 BeginUiUpdateLC(); |
301 |
301 |
302 UpdateRemoteInfoDataL ( aCallId ); |
302 UpdateRemoteInfoDataL ( aCallId ); |
303 |
303 |
304 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveGlobalNote ); |
304 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveGlobalNote ); |
305 // Re-enable global notes |
305 // Re-enable global notes |
306 TPhoneCmdParamBoolean globalNotifierParam; |
306 EnableGlobalNotifiersL(); |
307 globalNotifierParam.SetBoolean( EFalse ); |
|
308 iViewCommandHandle->ExecuteCommandL( EPhoneViewSetGlobalNotifiersDisabled, |
|
309 &globalNotifierParam ); |
|
310 |
307 |
311 // Stop capturing keys |
308 // Stop capturing keys |
312 CaptureKeysDuringCallNotificationL( EFalse ); |
309 CaptureKeysDuringCallNotificationL( EFalse ); |
313 |
310 |
314 TPhoneCmdParamCallHeaderData callHeaderParam; |
311 TPhoneCmdParamCallHeaderData callHeaderParam; |
320 if ( !iOnScreenDialer || !IsNumberEntryVisibleL() || !IsDTMFEditorVisibleL() ) |
317 if ( !iOnScreenDialer || !IsNumberEntryVisibleL() || !IsDTMFEditorVisibleL() ) |
321 { |
318 { |
322 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNumberEntry ); |
319 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNumberEntry ); |
323 } |
320 } |
324 |
321 |
325 TransitionHandlerL().EndUiUpdate(); |
322 EndUiUpdate(); |
326 |
323 |
327 UpdateCbaL( EPhoneCallHandlingCallWaitingCBA ); |
324 UpdateCbaL( EPhoneCallHandlingCallWaitingCBA ); |
328 } |
325 } |
329 |
326 |
330 // ----------------------------------------------------------- |
327 // ----------------------------------------------------------- |
334 void CPhoneConferenceAndWaitingAndCallSetup::HandleConnectedL( TInt aCallId ) |
331 void CPhoneConferenceAndWaitingAndCallSetup::HandleConnectedL( TInt aCallId ) |
335 { |
332 { |
336 __LOGMETHODSTARTEND( EPhoneUIStates, |
333 __LOGMETHODSTARTEND( EPhoneUIStates, |
337 "CPhoneConferenceAndWaitingAndCallSetup::HandleConnectedL"); |
334 "CPhoneConferenceAndWaitingAndCallSetup::HandleConnectedL"); |
338 |
335 |
339 TransitionHandlerL().BeginUiUpdateLC(); |
336 BeginUiUpdateLC(); |
340 |
337 |
341 UpdateRemoteInfoDataL ( aCallId ); |
338 UpdateRemoteInfoDataL ( aCallId ); |
342 |
339 |
343 // Show bubble |
340 // Show bubble |
344 TPhoneCmdParamCallHeaderData callHeaderParam; |
341 TPhoneCmdParamCallHeaderData callHeaderParam; |
356 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNumberEntry ); |
353 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNumberEntry ); |
357 } |
354 } |
358 |
355 |
359 SetTouchPaneButtons( EPhoneWaitingCallButtons ); |
356 SetTouchPaneButtons( EPhoneWaitingCallButtons ); |
360 SetTouchPaneButtonDisabled( EPhoneCallComingCmdAnswer ); |
357 SetTouchPaneButtonDisabled( EPhoneCallComingCmdAnswer ); |
361 TransitionHandlerL().EndUiUpdate(); |
358 EndUiUpdate(); |
362 |
359 |
363 // Go to Conference And Single And Waiting state |
360 // Go to Conference And Single And Waiting state |
364 UpdateCbaL( EPhoneCallHandlingCallWaitingCBA ); |
361 UpdateCbaL( EPhoneCallHandlingCallWaitingCBA ); |
365 iStateMachine->ChangeState( EPhoneStateConferenceAndSingleAndWaiting ); |
362 iStateMachine->ChangeState( EPhoneStateConferenceAndSingleAndWaiting ); |
366 } |
363 } |
383 // |
380 // |
384 void CPhoneConferenceAndWaitingAndCallSetup::HandleConferenceIdleL() |
381 void CPhoneConferenceAndWaitingAndCallSetup::HandleConferenceIdleL() |
385 { |
382 { |
386 __LOGMETHODSTARTEND( EPhoneUIStates, |
383 __LOGMETHODSTARTEND( EPhoneUIStates, |
387 "CPhoneConferenceAndWaitingAndCallSetup::HandleConferenceIdleL"); |
384 "CPhoneConferenceAndWaitingAndCallSetup::HandleConferenceIdleL"); |
388 TransitionHandlerL().BeginUiUpdateLC(); |
385 BeginUiUpdateLC(); |
389 |
386 |
390 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveConferenceBubble ); |
387 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveConferenceBubble ); |
391 iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose ); |
388 iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose ); |
392 |
389 |
393 if ( IsNumberEntryUsedL() ) |
390 if ( IsNumberEntryUsedL() ) |
429 SetTouchPaneButtons( EPhoneCallSetupButtons ); |
426 SetTouchPaneButtons( EPhoneCallSetupButtons ); |
430 SetToolbarDimming( ETrue ); |
427 SetToolbarDimming( ETrue ); |
431 iStateMachine->ChangeState( EPhoneStateCallSetupAndWaiting ); |
428 iStateMachine->ChangeState( EPhoneStateCallSetupAndWaiting ); |
432 } |
429 } |
433 } |
430 } |
434 TransitionHandlerL().EndUiUpdate(); |
431 EndUiUpdate(); |
435 } |
432 } |
436 |
433 |
437 // ----------------------------------------------------------- |
434 // ----------------------------------------------------------- |
438 // CPhoneConferenceAndWaitingAndCallSetup::HandleIdleL |
435 // CPhoneConferenceAndWaitingAndCallSetup::HandleIdleL |
439 // ----------------------------------------------------------- |
436 // ----------------------------------------------------------- |
442 { |
439 { |
443 __LOGMETHODSTARTEND( EPhoneUIStates, |
440 __LOGMETHODSTARTEND( EPhoneUIStates, |
444 "CPhoneConferenceAndWaitingAndCallSetup::HandleIdleL"); |
441 "CPhoneConferenceAndWaitingAndCallSetup::HandleIdleL"); |
445 |
442 |
446 // Re-enable global notes |
443 // Re-enable global notes |
447 TPhoneCmdParamBoolean globalNotifierParam; |
444 EnableGlobalNotifiersL(); |
448 globalNotifierParam.SetBoolean( EFalse ); |
|
449 iViewCommandHandle->ExecuteCommandL( EPhoneViewSetGlobalNotifiersDisabled, |
|
450 &globalNotifierParam ); |
|
451 |
445 |
452 // Stop capturing keys |
446 // Stop capturing keys |
453 CaptureKeysDuringCallNotificationL( EFalse ); |
447 CaptureKeysDuringCallNotificationL( EFalse ); |
454 |
448 |
455 // Close menu bar, if it is displayed |
449 // Close menu bar, if it is displayed |
479 // Idle message came for last conference member. |
473 // Idle message came for last conference member. |
480 // Don't do anything, wait for ConferenceIdle message |
474 // Don't do anything, wait for ConferenceIdle message |
481 } |
475 } |
482 else |
476 else |
483 { |
477 { |
484 TransitionHandlerL().BeginUiUpdateLC(); |
478 BeginUiUpdateLC(); |
485 TPhoneCmdParamCallStateData callStateData; |
479 TPhoneCmdParamCallStateData callStateData; |
486 callStateData.SetCallState( EPEStateRinging ); |
480 callStateData.SetCallState( EPEStateRinging ); |
487 iViewCommandHandle->HandleCommandL( EPhoneViewGetCallIdByState, |
481 iViewCommandHandle->HandleCommandL( EPhoneViewGetCallIdByState, |
488 &callStateData ); |
482 &callStateData ); |
489 if( callStateData.CallId() > KErrNotFound ) |
483 if( callStateData.CallId() > KErrNotFound ) |
507 // Go to Conference And Call Setup state |
501 // Go to Conference And Call Setup state |
508 SetTouchPaneButtons( EPhoneCallSetupButtons ); |
502 SetTouchPaneButtons( EPhoneCallSetupButtons ); |
509 UpdateCbaL( EPhoneCallHandlingInCallCBA ); |
503 UpdateCbaL( EPhoneCallHandlingInCallCBA ); |
510 iStateMachine->ChangeState( EPhoneStateConferenceAndCallSetup ); |
504 iStateMachine->ChangeState( EPhoneStateConferenceAndCallSetup ); |
511 } |
505 } |
512 TransitionHandlerL().EndUiUpdate(); |
506 EndUiUpdate(); |
513 } |
507 } |
514 } |
508 } |
515 } |
509 } |
516 |
510 |
517 // End of File |
511 // End of File |