phoneapp/phoneuivoipextension/src/cphonestateutilsvoip.cpp
changeset 65 2a5d4ab426d3
parent 37 ba76fc04e6c2
child 76 cfea66083b62
--- a/phoneapp/phoneuivoipextension/src/cphonestateutilsvoip.cpp	Mon Aug 23 15:42:12 2010 +0300
+++ b/phoneapp/phoneuivoipextension/src/cphonestateutilsvoip.cpp	Fri Sep 03 13:33:36 2010 +0300
@@ -17,7 +17,6 @@
 
 #include <cphcltemergencycall.h>
 #include <mpeengineinfo.h>
-#include <cconvergedserviceselector.h>
 #include "cphonestateutilsvoip.h"
 #include "cphonelogger.h"
 #include "phoneconstants.h"
@@ -56,7 +55,6 @@
     {
     iBuffer = HBufC::NewL( KPhoneNumberEntryBufferSize );
     iEmergencyCall = CPhCltEmergencyCall::NewL( NULL );
-    iServiceSelector = CConvergedServiceSelector::NewL();
     }
 
 
@@ -100,7 +98,6 @@
     {
     delete iBuffer;
     delete iEmergencyCall;
-    delete iServiceSelector;
     }
 
 
@@ -155,19 +152,6 @@
     
     TBool isVoipPrefered( EFalse );
     
-    CConvergedServiceSelector::TSsResult results;
-    TInt result = iServiceSelector->GetCallingServiceByCallType( results,
-        CConvergedServiceSelector::ESsVoiceCall, 0, ETrue );
-    
-    if ( KErrNone == result && 
-         CConvergedServiceSelector::ESsVoipCall == results.iCallType )
-        {
-        __LOGMETHODSTARTEND( PhoneUIVoIPExtension, 
-            "CPhoneStateUtilsVoip::IsVoipPreferred ETrue" );
-        aServiceId = results.iServiceId;
-        isVoipPrefered = ETrue;
-        }
-    
     return isVoipPrefered;
     }