23 #include <MediatorDomainUIDs.h> |
23 #include <MediatorDomainUIDs.h> |
24 #include "cphonealerting.h" |
24 #include "cphonealerting.h" |
25 #include "mphonestatemachine.h" |
25 #include "mphonestatemachine.h" |
26 #include "tphonecmdparamboolean.h" |
26 #include "tphonecmdparamboolean.h" |
27 #include "tphonecmdparaminteger.h" |
27 #include "tphonecmdparaminteger.h" |
28 #include "tphonecmdparamcallstatedata.h" |
|
29 #include "phoneviewcommanddefinitions.h" |
28 #include "phoneviewcommanddefinitions.h" |
30 #include "phoneui.hrh" |
29 #include "phoneui.hrh" |
31 #include "cphonemainresourceresolver.h" |
30 #include "cphonemainresourceresolver.h" |
32 #include "phonerssbase.h" |
31 #include "phonerssbase.h" |
33 #include "phonestatedefinitionsgsm.h" |
32 #include "phonestatedefinitionsgsm.h" |
228 { |
227 { |
229 __LOGMETHODSTARTEND( EPhoneUIStates, |
228 __LOGMETHODSTARTEND( EPhoneUIStates, |
230 "CPhoneAlerting::HandleCommandL()" ); |
229 "CPhoneAlerting::HandleCommandL()" ); |
231 return CPhoneGsmInCall::HandleCommandL( aCommand ); |
230 return CPhoneGsmInCall::HandleCommandL( aCommand ); |
232 } |
231 } |
233 |
|
234 // ----------------------------------------------------------- |
|
235 // CPhoneAlerting::IsVideoCallAlertingL |
|
236 // ----------------------------------------------------------- |
|
237 // |
|
238 TBool CPhoneAlerting::IsVideoCallAlertingL() |
|
239 { |
|
240 __LOGMETHODSTARTEND( EPhoneUIStates, |
|
241 "CPhoneAlerting::IsVideoCallAlerting()" ); |
|
242 TBool retVal = EFalse; |
|
243 TPhoneCmdParamCallStateData callStateData; |
|
244 callStateData.SetCallState( EPEStateConnecting ); |
|
245 iViewCommandHandle->HandleCommandL( |
|
246 EPhoneViewGetCallIdByState, &callStateData ); |
|
247 if ( callStateData.CallId() > KErrNotFound ) |
|
248 { |
|
249 retVal = IsVideoCall( callStateData.CallId() ); |
|
250 } |
|
251 return retVal; |
|
252 } |
|
253 |
232 |
254 // ----------------------------------------------------------- |
233 // ----------------------------------------------------------- |
255 // CPhoneAlerting::CheckIfShowTerminationNote |
234 // CPhoneAlerting::CheckIfShowTerminationNote |
256 // ----------------------------------------------------------- |
235 // ----------------------------------------------------------- |
257 // |
236 // |