phoneapp/phoneuistates/src/cphoneconferenceandsingleandwaiting.cpp
branchRCL_3
changeset 81 c26cc2a7c548
parent 69 8baf28733c3d
equal deleted inserted replaced
73:e30d4a1b8bad 81:c26cc2a7c548
   196 //
   196 //
   197 void CPhoneConferenceAndSingleAndWaiting::HandleIdleL( TInt aCallId )
   197 void CPhoneConferenceAndSingleAndWaiting::HandleIdleL( TInt aCallId )
   198     {
   198     {
   199     __LOGMETHODSTARTEND( EPhoneUIStates, 
   199     __LOGMETHODSTARTEND( EPhoneUIStates, 
   200         "CPhoneConferenceAndSingleAndWaiting::HandleIdleL()");
   200         "CPhoneConferenceAndSingleAndWaiting::HandleIdleL()");
   201     TransitionHandlerL().BeginUiUpdateLC();
   201     BeginUiUpdateLC();
   202     SetTouchPaneButtonEnabled( EPhoneCallComingCmdAnswer );
   202     SetTouchPaneButtonEnabled( EPhoneCallComingCmdAnswer );
   203     SetTouchPaneButtons( EPhoneWaitingCallButtons );
   203     SetTouchPaneButtons( EPhoneWaitingCallButtons );
   204 
   204 
   205     TPhoneCmdParamBoolean conferenceExistsForCallId;
   205     TPhoneCmdParamBoolean conferenceExistsForCallId;
   206     iViewCommandHandle->ExecuteCommandL( EPhoneViewGetCallExistsInConference,
   206     iViewCommandHandle->ExecuteCommandL( EPhoneViewGetCallExistsInConference,
   238                 // We have Conference and Single calls left
   238                 // We have Conference and Single calls left
   239                 MakeStateTransitionToConferenceAndSingleL( aCallId );
   239                 MakeStateTransitionToConferenceAndSingleL( aCallId );
   240                 }
   240                 }
   241             }
   241             }
   242         }
   242         }
   243     TransitionHandlerL().EndUiUpdate();
   243     EndUiUpdate();
   244     }
   244     }
   245 
   245 
   246 // -----------------------------------------------------------
   246 // -----------------------------------------------------------
   247 // CPhoneConferenceAndSingleAndWaiting::HandleAddedConferenceMemberL
   247 // CPhoneConferenceAndSingleAndWaiting::HandleAddedConferenceMemberL
   248 // -----------------------------------------------------------
   248 // -----------------------------------------------------------
   339 void CPhoneConferenceAndSingleAndWaiting::HandleConferenceIdleL()
   339 void CPhoneConferenceAndSingleAndWaiting::HandleConferenceIdleL()
   340     {
   340     {
   341     __LOGMETHODSTARTEND( EPhoneUIStates, 
   341     __LOGMETHODSTARTEND( EPhoneUIStates, 
   342         "CPhoneConferenceAndSingleAndWaiting::HandleConferenceIdleL()");
   342         "CPhoneConferenceAndSingleAndWaiting::HandleConferenceIdleL()");
   343     
   343     
   344     TransitionHandlerL().BeginUiUpdateLC();    
   344     BeginUiUpdateLC();    
   345     
   345     
   346     iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveConferenceBubble );    
   346     iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveConferenceBubble );    
   347         
   347         
   348     // Close menu bar, if it is displayed
   348     // Close menu bar, if it is displayed
   349     iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose );
   349     iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose );
   351     // Remove any phone dialogs if they are displayed
   351     // Remove any phone dialogs if they are displayed
   352     iViewCommandHandle->ExecuteCommandL( EPhoneViewRemovePhoneDialogs );
   352     iViewCommandHandle->ExecuteCommandL( EPhoneViewRemovePhoneDialogs );
   353 
   353 
   354     MakeTransitionAccordingToActiveCallsL();
   354     MakeTransitionAccordingToActiveCallsL();
   355     
   355     
   356     TransitionHandlerL().EndUiUpdate();
   356     EndUiUpdate();    	    
   357     }
   357     }
   358 
   358 
   359 // --------------------------------------------------------------
   359 // --------------------------------------------------------------
   360 // CPhoneConferenceAndSingleAndWaiting::HandleKeyMessageL
   360 // CPhoneConferenceAndSingleAndWaiting::HandleKeyMessageL
   361 // --------------------------------------------------------------
   361 // --------------------------------------------------------------