phoneapp/phoneuistates/src/cphoneconferenceandsingle.cpp
branchGCC_SURGE
changeset 51 f39ed5e045e0
parent 22 6bb1b21d2484
parent 46 bc5a64e5bc3c
equal deleted inserted replaced
40:bab96b7ed1a4 51:f39ed5e045e0
   126         case MEngineMonitor::EPEMessageHeld:
   126         case MEngineMonitor::EPEMessageHeld:
   127             HandleHeldL( aCallId );
   127             HandleHeldL( aCallId );
   128             break;
   128             break;
   129             
   129             
   130         case MEngineMonitor::EPEMessageInValidEmergencyNumber:              
   130         case MEngineMonitor::EPEMessageInValidEmergencyNumber:              
   131             SendGlobalErrorNoteL( EPhoneNoteTextNotAllowed );                       
   131             SendGlobalErrorNoteL( EPhoneNoteTextNotAllowed, ETrue );                       
   132             break;
   132             break;
   133             
   133             
   134         case MEngineMonitor::EPEMessageValidEmergencyNumber:
   134         case MEngineMonitor::EPEMessageValidEmergencyNumber:
   135             DialVoiceCallL();
   135             DialVoiceCallL();
   136             break;                          
   136             break;                          
   325     BeginUiUpdateLC();
   325     BeginUiUpdateLC();
   326     iViewCommandHandle->ExecuteCommandL( 
   326     iViewCommandHandle->ExecuteCommandL( 
   327         EPhoneViewUpdateBubble, KConferenceCallId, &callHeaderParam );
   327         EPhoneViewUpdateBubble, KConferenceCallId, &callHeaderParam );
   328     
   328     
   329     SetTouchPaneButtons( EPhoneConferenceAndHeldSingleButtons );
   329     SetTouchPaneButtons( EPhoneConferenceAndHeldSingleButtons );
   330     
   330     UpdateInCallCbaL();
   331     EndUiUpdate();          
   331     EndUiUpdate();          
   332     }
   332     }
   333 
   333 
   334 
   334 
   335 // -----------------------------------------------------------
   335 // -----------------------------------------------------------
   372 //
   372 //
   373 void CPhoneConferenceAndSingle::HandleConnectedL( TInt aCallId )
   373 void CPhoneConferenceAndSingle::HandleConnectedL( TInt aCallId )
   374     {
   374     {
   375     __LOGMETHODSTARTEND( EPhoneUIStates, "CPhoneConferenceAndSingle::HandleConnectedL");
   375     __LOGMETHODSTARTEND( EPhoneUIStates, "CPhoneConferenceAndSingle::HandleConnectedL");
   376     
   376     
   377     UpdateInCallCbaL();
       
   378     
       
   379     
       
   380     // Display connected bubble
   377     // Display connected bubble
   381     TPhoneCmdParamCallHeaderData callHeaderParam;
   378     TPhoneCmdParamCallHeaderData callHeaderParam;
   382     callHeaderParam.SetCallState( EPEStateConnected );
   379     callHeaderParam.SetCallState( EPEStateConnected );
   383     iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateBubble, aCallId, 
   380     iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateBubble, aCallId, 
   384         &callHeaderParam );
   381         &callHeaderParam );
   385 
   382 
       
   383     UpdateInCallCbaL();
   386     SetTouchPaneButtons( EPhoneConferenceButtons );
   384     SetTouchPaneButtons( EPhoneConferenceButtons );
   387     }
   385     }
   388 
   386 
   389 // -----------------------------------------------------------
   387 // -----------------------------------------------------------
   390 // CPhoneConferenceAndSingle::HandleHeldL
   388 // CPhoneConferenceAndSingle::HandleHeldL