phoneapp/phoneuicontrol/src/cphonestatecallsetup.cpp
branchGCC_SURGE
changeset 51 f39ed5e045e0
parent 30 ebdbd102c78a
parent 46 bc5a64e5bc3c
equal deleted inserted replaced
40:bab96b7ed1a4 51:f39ed5e045e0
   404                 CPhoneState::SetHandsfreeModeL( !handsfreeMode );
   404                 CPhoneState::SetHandsfreeModeL( !handsfreeMode );
   405                 }
   405                 }
   406             else // aMessage == EPhoneKeyLongPress
   406             else // aMessage == EPhoneKeyLongPress
   407                 {
   407                 {
   408                 // Display call in progress information note
   408                 // Display call in progress information note
   409                 CPhoneState::SendGlobalInfoNoteL( EPhoneCallInProgress );
   409                 CPhoneState::SendGlobalInfoNoteL( EPhoneCallInProgress, ETrue );
   410                 }
   410                 }
   411             break;
   411             break;
   412 
   412 
   413         default:
   413         default:
   414             break;
   414             break;
   659 void CPhoneStateCallSetup::HandleRemoteTerminatedL( TInt aCallId )
   659 void CPhoneStateCallSetup::HandleRemoteTerminatedL( TInt aCallId )
   660     {
   660     {
   661     __LOGMETHODSTARTEND(EPhoneControl, "CPhoneStateCallSetup::HandleRemoteTerminatedL( ) ");
   661     __LOGMETHODSTARTEND(EPhoneControl, "CPhoneStateCallSetup::HandleRemoteTerminatedL( ) ");
   662 
   662 
   663     // Remove call header
   663     // Remove call header
   664     iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId );
   664     /*iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId );
   665     
   665     
   666     TPhoneCmdParamBoolean globalNotifierParam;
   666     TPhoneCmdParamBoolean globalNotifierParam;
   667     globalNotifierParam.SetBoolean( EFalse );
   667     globalNotifierParam.SetBoolean( EFalse );
   668     iViewCommandHandle->ExecuteCommandL( 
   668     iViewCommandHandle->ExecuteCommandL( 
   669         EPhoneViewSetGlobalNotifiersDisabled, &globalNotifierParam );
   669         EPhoneViewSetGlobalNotifiersDisabled, &globalNotifierParam );*/
   670 
   670 
   671     // Video call not possible note is shown by 
   671     // Video call not possible note is shown by 
   672     // CPhoneErrorMessagesHandler::ShowErrorSpecificNoteL method,
   672     // CPhoneErrorMessagesHandler::ShowErrorSpecificNoteL method,
   673     // if error ECCPErrorCCResourceNotAvailable occured.
   673     // if error ECCPErrorCCResourceNotAvailable occured.
   674     }    
   674     }    
   678 // -----------------------------------------------------------------------------
   678 // -----------------------------------------------------------------------------
   679 //    
   679 //    
   680 void CPhoneStateCallSetup::HandleAudioOutputChangedL()
   680 void CPhoneStateCallSetup::HandleAudioOutputChangedL()
   681     {
   681     {
   682     __LOGMETHODSTARTEND(EPhoneControl, "CPhoneStateCallSetup::HandleAudioOutputChangedL( ) ");
   682     __LOGMETHODSTARTEND(EPhoneControl, "CPhoneStateCallSetup::HandleAudioOutputChangedL( ) ");
   683    
   683        
       
   684     CPhoneState::HandleAudioOutputChangedL();
   684     // Update the call setup CBA
   685     // Update the call setup CBA
   685     UpdateInCallCbaL();
   686     UpdateInCallCbaL();
   686     
   687     SetTouchPaneButtons(0);
   687     CPhoneState::HandleAudioOutputChangedL();
       
   688     }
   688     }
   689  
   689  
   690 // -----------------------------------------------------------
   690 // -----------------------------------------------------------
   691 // CPhoneStateCallSetup::SendDtmfL
   691 // CPhoneStateCallSetup::SendDtmfL
   692 // -----------------------------------------------------------
   692 // -----------------------------------------------------------