phoneapp/phoneuistates/src/cphoneconference.cpp
changeset 76 cfea66083b62
parent 74 d1c62c765e48
child 78 baacf668fe89
--- a/phoneapp/phoneuistates/src/cphoneconference.cpp	Fri Sep 17 17:09:12 2010 +0300
+++ b/phoneapp/phoneuistates/src/cphoneconference.cpp	Mon Oct 04 16:06:10 2010 +0300
@@ -125,15 +125,12 @@
             break;
             
         case MEngineMonitor::EPEMessageHeldConference:
-            HandleHeldConferenceL( aCallId );
-            break;
-            
         case MEngineMonitor::EPEMessageConnectedConference:
-            HandleConnectedConferenceL();
+            UpdateCallHeaderAndUiCommandsL( aCallId );
             break;
 
         case MEngineMonitor::EPEMessageAddedConferenceMember:
-            UpdateConferenceSecurityStatusL( aCallId );
+            UpdateConferenceSecurityStatusL();
             break;
             
         case MEngineMonitor::EPEMessageWentOneToOne:
@@ -143,7 +140,7 @@
         case MEngineMonitor::EPEMessageHeld:
         case MEngineMonitor::EPEMessageConnected:
             {
-            iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateBubble, aCallId );
+            UpdateCallHeader( aCallId );
             }
             break;
             
@@ -351,32 +348,6 @@
     }
 
 // -----------------------------------------------------------
-// CPhoneConference::HandleHeldConferenceL
-// -----------------------------------------------------------
-//
-void CPhoneConference::HandleHeldConferenceL( TInt aCallId )
-    {
-    __LOGMETHODSTARTEND( EPhoneUIStates, 
-        "CPhoneConference::HandleHeldConferenceL()"); 
-    iViewCommandHandle->ExecuteCommandL( 
-        EPhoneViewUpdateBubble, aCallId );
-    UpdateUiCommands();
-    }
-
-// -----------------------------------------------------------
-// CPhoneConference::HandleConnectedConferenceL
-// -----------------------------------------------------------
-//
-void CPhoneConference::HandleConnectedConferenceL()
-    {
-    __LOGMETHODSTARTEND( EPhoneUIStates, 
-        "CPhoneConference::HandleConnectedConferenceL()");
-    iViewCommandHandle->ExecuteCommandL( 
-        EPhoneViewUpdateBubble, KConferenceCallId );
-    UpdateUiCommands();
-    }
-
-// -----------------------------------------------------------
 // CPhoneConference::DropSelectedParticipantL
 // -----------------------------------------------------------
 //
@@ -537,11 +508,10 @@
 // CPhoneConference::UpdateConferenceSecurityStatusL
 // -----------------------------------------------------------
 //
-void CPhoneConference::UpdateConferenceSecurityStatusL( TInt aCallId )
+void CPhoneConference::UpdateConferenceSecurityStatusL( )
     {
-    __PHONELOG1( EBasic, EPhoneUIStates, 
-        "CPhoneConference::UpdateConferenceSecurityStatusL() - callId = %d", aCallId );
-
+    __LOGMETHODSTARTEND( EPhoneUIStates, 
+            "CPhoneConference::UpdateConferenceSecurityStatusL()");
     iViewCommandHandle->ExecuteCommandL( 
         EPhoneViewCipheringInfoChange,
         KPEConferenceCallID);