--- a/phoneapp/phoneuistates/src/cphonetwosinglesandwaiting.cpp Mon Oct 04 16:06:10 2010 +0300
+++ b/phoneapp/phoneuistates/src/cphonetwosinglesandwaiting.cpp Fri Oct 15 12:58:46 2010 +0300
@@ -29,7 +29,6 @@
#include "tphonecmdparamcallheaderdata.h"
#include "tphonecmdparamglobalnote.h"
#include "tphonecmdparamstring.h"
-#include "tphonecmdparamcallstatedata.h"
#include "phoneviewcommanddefinitions.h"
#include "phoneui.hrh"
#include "cphonemainresourceresolver.h"
@@ -37,6 +36,7 @@
#include "phonestatedefinitionsgsm.h"
#include "phonelogger.h"
#include "mphonestorage.h"
+#include "phonecallutil.h"
// ================= MEMBER FUNCTIONS =======================
@@ -71,11 +71,7 @@
{
CPhoneTwoSingles::ConstructL();
- TPhoneCmdParamCallStateData callStateData;
- callStateData.SetCallState( EPEStateRinging );
- iViewCommandHandle->HandleCommandL(
- EPhoneViewGetCallIdByState, &callStateData );
- iRingingCallId = callStateData.CallId();
+ iRingingCallId = PhoneCallUtil::CallIdByState( EPEStateRinging );
}
// -----------------------------------------------------------