equal
deleted
inserted
replaced
922 { |
922 { |
923 __LOGMETHODSTARTEND( EPhoneUIStates, |
923 __LOGMETHODSTARTEND( EPhoneUIStates, |
924 "CPhoneConference::HandleIncomingL()"); |
924 "CPhoneConference::HandleIncomingL()"); |
925 |
925 |
926 BeginUiUpdateLC(); |
926 BeginUiUpdateLC(); |
|
927 |
|
928 // Hide the number entry if it exists |
|
929 if ( IsNumberEntryUsedL() ) |
|
930 { |
|
931 SetNumberEntryVisibilityL( EFalse ); |
|
932 } |
927 |
933 |
928 TPhoneCmdParamBoolean dialerParam; |
934 TPhoneCmdParamBoolean dialerParam; |
929 dialerParam.SetBoolean( ETrue ); |
935 dialerParam.SetBoolean( ETrue ); |
930 |
936 |
931 // Get allow waiting call header param value. |
937 // Get allow waiting call header param value. |
1124 KPEConferenceCallID, |
1130 KPEConferenceCallID, |
1125 &callHeaderParam ); |
1131 &callHeaderParam ); |
1126 } |
1132 } |
1127 } |
1133 } |
1128 |
1134 |
|
1135 // ----------------------------------------------------------- |
|
1136 // CPhoneConference::DisconnectCallL |
|
1137 // ----------------------------------------------------------- |
|
1138 // |
|
1139 void CPhoneConference::DisconnectCallL() |
|
1140 { |
|
1141 __LOGMETHODSTARTEND(EPhoneControl, "CPhoneConference::DisconnectCallL( ) "); |
|
1142 // Fetch active call's id from view |
|
1143 TPhoneCmdParamCallStateData callStateData; |
|
1144 callStateData.SetCallState( EPEStateConnected ); |
|
1145 iViewCommandHandle->HandleCommandL( |
|
1146 EPhoneViewGetCallIdByState, &callStateData ); |
|
1147 |
|
1148 if( callStateData.CallId() == KErrNotFound ) |
|
1149 { |
|
1150 // No connected call, find the hold call |
|
1151 callStateData.SetCallState( EPEStateHeld ); |
|
1152 iViewCommandHandle->HandleCommandL( |
|
1153 EPhoneViewGetCallIdByState, &callStateData ); |
|
1154 } |
|
1155 |
|
1156 if( callStateData.CallId() > KErrNotFound ) |
|
1157 { |
|
1158 iStateMachine->SendPhoneEngineMessage( |
|
1159 CPEPhoneModelIF::EPEMessageHangUpConference ); |
|
1160 } |
|
1161 else |
|
1162 { |
|
1163 CPhoneState::DisconnectCallL(); |
|
1164 } |
|
1165 } |
1129 // End of File |
1166 // End of File |