equal
deleted
inserted
replaced
263 // ----------------------------------------------------------- |
263 // ----------------------------------------------------------- |
264 // |
264 // |
265 void CPhoneConferenceAndWaiting::MakeStateTransitionToConferenceAndSingleL( TInt aCallId ) |
265 void CPhoneConferenceAndWaiting::MakeStateTransitionToConferenceAndSingleL( TInt aCallId ) |
266 { |
266 { |
267 __LOGMETHODSTARTEND(EPhoneUIStates, "CPhoneConferenceAndWaiting::MakeStateTransitionToConferenceAndSingleL()"); |
267 __LOGMETHODSTARTEND(EPhoneUIStates, "CPhoneConferenceAndWaiting::MakeStateTransitionToConferenceAndSingleL()"); |
268 TransitionHandlerL().BeginUiUpdateLC(); |
268 BeginUiUpdateLC(); |
269 |
269 |
270 UpdateRemoteInfoDataL ( aCallId ); |
270 UpdateRemoteInfoDataL ( aCallId ); |
271 if ( IsConferenceBubbleInSelectionMode() ) |
271 if ( IsConferenceBubbleInSelectionMode() ) |
272 { |
272 { |
273 CloseSelectionListL(); |
273 CloseSelectionListL(); |
289 UpdateCbaL( EPhoneCallHandlingNewCallSwapCBA ); |
289 UpdateCbaL( EPhoneCallHandlingNewCallSwapCBA ); |
290 } |
290 } |
291 SetTouchPaneButtons( EPhoneConferenceAndSingleButtons ); |
291 SetTouchPaneButtons( EPhoneConferenceAndSingleButtons ); |
292 SetTouchPaneButtonDisabled( EPhoneInCallCmdPrivate ); |
292 SetTouchPaneButtonDisabled( EPhoneInCallCmdPrivate ); |
293 |
293 |
294 TransitionHandlerL().EndUiUpdate(); |
294 EndUiUpdate(); |
295 // CBA updates in above if-else conditions |
295 // CBA updates in above if-else conditions |
296 iStateMachine->ChangeState( EPhoneStateConferenceAndSingle ); |
296 iStateMachine->ChangeState( EPhoneStateConferenceAndSingle ); |
297 } |
297 } |
298 |
298 |
299 // ----------------------------------------------------------- |
299 // ----------------------------------------------------------- |
314 iRingingCallId = callStateData.CallId(); |
314 iRingingCallId = callStateData.CallId(); |
315 } |
315 } |
316 |
316 |
317 if( iRingingCallId == aCallId ) |
317 if( iRingingCallId == aCallId ) |
318 { |
318 { |
319 TransitionHandlerL().BeginUiUpdateLC(); |
319 BeginUiUpdateLC(); |
320 iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose ); |
320 iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose ); |
321 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId ); |
321 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId ); |
322 |
322 |
323 if ( IsNumberEntryUsedL() ) |
323 if ( IsNumberEntryUsedL() ) |
324 { |
324 { |
349 } |
349 } |
350 else |
350 else |
351 { |
351 { |
352 SetTouchPaneButtons( EPhoneConferenceButtons ); |
352 SetTouchPaneButtons( EPhoneConferenceButtons ); |
353 } |
353 } |
354 TransitionHandlerL().EndUiUpdate(); |
354 EndUiUpdate(); |
355 // CBA updates in above if-else conditions |
355 // CBA updates in above if-else conditions |
356 iStateMachine->ChangeState( EPhoneStateConference ); |
356 iStateMachine->ChangeState( EPhoneStateConference ); |
357 } |
357 } |
358 else |
358 else |
359 { |
359 { |
374 // ----------------------------------------------------------- |
374 // ----------------------------------------------------------- |
375 // |
375 // |
376 void CPhoneConferenceAndWaiting::HandleConferenceIdleL() |
376 void CPhoneConferenceAndWaiting::HandleConferenceIdleL() |
377 { |
377 { |
378 __LOGMETHODSTARTEND( EPhoneUIStates, "CPhoneConferenceAndWaiting::HandleConferenceIdleL()"); |
378 __LOGMETHODSTARTEND( EPhoneUIStates, "CPhoneConferenceAndWaiting::HandleConferenceIdleL()"); |
379 TransitionHandlerL().BeginUiUpdateLC(); |
379 BeginUiUpdateLC(); |
380 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveConferenceBubble ); |
380 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveConferenceBubble ); |
381 iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose ); |
381 iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose ); |
382 TPhoneCmdParamInteger activeCallCount; |
382 TPhoneCmdParamInteger activeCallCount; |
383 iViewCommandHandle->ExecuteCommandL( |
383 iViewCommandHandle->ExecuteCommandL( |
384 EPhoneViewGetCountOfActiveCalls, &activeCallCount ); |
384 EPhoneViewGetCountOfActiveCalls, &activeCallCount ); |
447 // Waiting for all conference member idles |
447 // Waiting for all conference member idles |
448 // This case may happen when 'End all calls' because conferenceIdle may |
448 // This case may happen when 'End all calls' because conferenceIdle may |
449 // come earlier than idle for conference member |
449 // come earlier than idle for conference member |
450 break; |
450 break; |
451 } |
451 } |
452 TransitionHandlerL().EndUiUpdate(); |
452 EndUiUpdate(); |
453 } |
453 } |
454 |
454 |
455 // ----------------------------------------------------------- |
455 // ----------------------------------------------------------- |
456 // CPhoneConferenceAndWaiting::UpdateInCallCbaL |
456 // CPhoneConferenceAndWaiting::UpdateInCallCbaL |
457 // ----------------------------------------------------------- |
457 // ----------------------------------------------------------- |
492 void CPhoneConferenceAndWaiting::HandleWentOneToOneL( TInt aCallId ) |
492 void CPhoneConferenceAndWaiting::HandleWentOneToOneL( TInt aCallId ) |
493 { |
493 { |
494 __LOGMETHODSTARTEND( EPhoneUIStates, |
494 __LOGMETHODSTARTEND( EPhoneUIStates, |
495 "CPhoneConferenceAndWaiting::HandleWentOneToOneL()"); |
495 "CPhoneConferenceAndWaiting::HandleWentOneToOneL()"); |
496 |
496 |
497 TransitionHandlerL().BeginUiUpdateLC(); |
497 BeginUiUpdateLC(); |
498 |
498 |
499 // Update conference bubble |
499 // Update conference bubble |
500 iViewCommandHandle->ExecuteCommandL( |
500 iViewCommandHandle->ExecuteCommandL( |
501 EPhoneViewPrivateFromConference, aCallId ); |
501 EPhoneViewPrivateFromConference, aCallId ); |
502 |
502 |
521 SetTouchPaneButtons( EPhoneWaitingCallButtons ); |
521 SetTouchPaneButtons( EPhoneWaitingCallButtons ); |
522 UpdateCbaL( EPhoneCallHandlingCallWaitingCBA ); |
522 UpdateCbaL( EPhoneCallHandlingCallWaitingCBA ); |
523 // Go to Conference And Single And Waiting state |
523 // Go to Conference And Single And Waiting state |
524 iStateMachine->ChangeState( EPhoneStateConferenceAndSingleAndWaiting ); |
524 iStateMachine->ChangeState( EPhoneStateConferenceAndSingleAndWaiting ); |
525 } |
525 } |
526 TransitionHandlerL().EndUiUpdate(); |
526 EndUiUpdate(); |
527 } |
527 } |
528 |
528 |
529 // End of File |
529 // End of File |