phoneapp/phoneuistates/src/cphoneconferenceandcallsetup.cpp
changeset 1 838b0a10d15b
parent 0 5f000ab63145
child 3 8871b09be73b
equal deleted inserted replaced
0:5f000ab63145 1:838b0a10d15b
   105     {
   105     {
   106     __LOGMETHODSTARTEND(EPhoneControl, "CPhoneConferenceAndCallSetup::HandlePhoneEngineMessageL()");
   106     __LOGMETHODSTARTEND(EPhoneControl, "CPhoneConferenceAndCallSetup::HandlePhoneEngineMessageL()");
   107     switch ( aMessage )
   107     switch ( aMessage )
   108         {
   108         {
   109         case MEngineMonitor::EPEMessageConnecting:
   109         case MEngineMonitor::EPEMessageConnecting:
       
   110             {
   110             iAlerting = ETrue;
   111             iAlerting = ETrue;
   111             HandleConnectingL( aCallId );
   112             HandleConnectingL( aCallId );
       
   113             }
   112             break;
   114             break;
   113             
   115             
   114         case MEngineMonitor::EPEMessageConnected:
   116         case MEngineMonitor::EPEMessageConnected:
       
   117             {
   115             HandleConnectedL( aCallId );
   118             HandleConnectedL( aCallId );
       
   119             }
   116             break;
   120             break;
   117             
   121             
   118         case MEngineMonitor::EPEMessageIdle:
   122         case MEngineMonitor::EPEMessageIdle:
       
   123             {
   119             HandleIdleL( aCallId );
   124             HandleIdleL( aCallId );
       
   125             }
   120             break;
   126             break;
   121             
   127             
   122         case MEngineMonitor::EPEMessageConferenceIdle:
   128         case MEngineMonitor::EPEMessageConferenceIdle:
       
   129             {
   123             HandleConferenceIdleL();
   130             HandleConferenceIdleL();
   124             break;
   131             }
       
   132             break;
       
   133             
       
   134         case MEngineMonitor::EPEMessageColpNumberAvailable:
       
   135             {
       
   136             HandleColpNoteL( aCallId );            
       
   137             }
       
   138             break;         
   125             
   139             
   126         default:
   140         default:
       
   141             {
   127             CPhoneConference::HandlePhoneEngineMessageL( aMessage, 
   142             CPhoneConference::HandlePhoneEngineMessageL( aMessage, 
   128                 aCallId );
   143                 aCallId );
       
   144             }
   129             break;
   145             break;
   130         }
   146         }
   131     }
   147     }
   132 
   148 
   133 // -----------------------------------------------------------
   149 // -----------------------------------------------------------
   309         }
   325         }
   310     
   326     
   311     SetTouchPaneButtons( EPhoneConferenceAndSingleButtons );
   327     SetTouchPaneButtons( EPhoneConferenceAndSingleButtons );
   312     SetTouchPaneButtonDisabled( EPhoneInCallCmdPrivate );
   328     SetTouchPaneButtonDisabled( EPhoneInCallCmdPrivate );
   313     EndUiUpdate(); 
   329     EndUiUpdate(); 
   314 
   330     
   315     HandleColpNoteL( aCallId );
       
   316     UpdateCbaL ( EPhoneCallHandlingNewCallSwapCBA );
   331     UpdateCbaL ( EPhoneCallHandlingNewCallSwapCBA );
   317    
   332    
   318     iStateMachine->ChangeState( EPhoneStateConferenceAndSingle );                     
   333     iStateMachine->ChangeState( EPhoneStateConferenceAndSingle );                     
   319     }
   334     }
   320 
   335