phoneapp/phoneuistates/src/cphonecallsetupandwaiting.cpp
branchRCL_3
changeset 81 c26cc2a7c548
parent 69 8baf28733c3d
equal deleted inserted replaced
73:e30d4a1b8bad 81:c26cc2a7c548
   180 void CPhoneCallSetupAndWaiting::HandleIdleL( TInt aCallId )
   180 void CPhoneCallSetupAndWaiting::HandleIdleL( TInt aCallId )
   181     {
   181     {
   182     __LOGMETHODSTARTEND( EPhoneUIStates, 
   182     __LOGMETHODSTARTEND( EPhoneUIStates, 
   183         "CPhoneCallSetupAndWaiting::HandleIdleL()");
   183         "CPhoneCallSetupAndWaiting::HandleIdleL()");
   184         
   184         
   185     TransitionHandlerL().BeginUiUpdateLC();
   185     BeginUiUpdateLC();
   186             
   186             
   187     // Remove call 
   187     // Remove call 
   188     iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId );
   188     iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId );
   189 
   189 
   190     // Close menu bar, if it is displayed
   190     // Close menu bar, if it is displayed
   236         // Waiting call was terminated
   236         // Waiting call was terminated
   237         UpdateCbaL( EPhoneCallHandlingInCallCBA );
   237         UpdateCbaL( EPhoneCallHandlingInCallCBA );
   238         iStateMachine->ChangeState( EPhoneStateAlerting );            
   238         iStateMachine->ChangeState( EPhoneStateAlerting );            
   239         }
   239         }
   240     
   240     
   241     TransitionHandlerL().EndUiUpdate();
   241     EndUiUpdate();
   242     }
   242     }
   243         
   243         
   244 // -----------------------------------------------------------
   244 // -----------------------------------------------------------
   245 // CPhoneCallSetupAndWaiting::UpdateInCallCbaL
   245 // CPhoneCallSetupAndWaiting::UpdateInCallCbaL
   246 // -----------------------------------------------------------
   246 // -----------------------------------------------------------
   262     __LOGMETHODSTARTEND( EPhoneUIStates, "CPhoneCallSetupAndWaiting::HandleConnectedL() ");
   262     __LOGMETHODSTARTEND( EPhoneUIStates, "CPhoneCallSetupAndWaiting::HandleConnectedL() ");
   263 
   263 
   264     // Close menu bar, if it is displayed
   264     // Close menu bar, if it is displayed
   265     iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose );
   265     iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose );
   266     
   266     
   267     TransitionHandlerL().BeginUiUpdateLC();
   267     CPhoneState::BeginUiUpdateLC();
   268 
   268 
   269     // Update bubble
   269     // Update bubble
   270     TPhoneCmdParamCallHeaderData callHeaderParam;
   270     TPhoneCmdParamCallHeaderData callHeaderParam;
   271     callHeaderParam.SetCallState( EPEStateConnected );
   271     callHeaderParam.SetCallState( EPEStateConnected );
   272     iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateBubble, aCallId, 
   272     iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateBubble, aCallId, 
   274       
   274       
   275     // Update Touch buttons    
   275     // Update Touch buttons    
   276     CPhoneState::SetTouchPaneButtons( EPhoneWaitingCallButtons );
   276     CPhoneState::SetTouchPaneButtons( EPhoneWaitingCallButtons );
   277     SetToolbarDimming( EFalse );
   277     SetToolbarDimming( EFalse );
   278     
   278     
   279     TransitionHandlerL().EndUiUpdate();
   279     EndUiUpdate();
   280  
   280  
   281     if ( CPhoneState::IsNumberEntryUsedL() )
   281     if ( CPhoneState::IsNumberEntryUsedL() )
   282         {
   282         {
   283         // Show number entry
   283         // Show number entry
   284         TPhoneCmdParamBoolean booleanParam;
   284         TPhoneCmdParamBoolean booleanParam;