phoneapp/phoneuivoipextension/src/cphoneviewcustomizationvoip.cpp
changeset 65 2a5d4ab426d3
parent 0 5f000ab63145
child 76 cfea66083b62
--- a/phoneapp/phoneuivoipextension/src/cphoneviewcustomizationvoip.cpp	Mon Aug 23 15:42:12 2010 +0300
+++ b/phoneapp/phoneuivoipextension/src/cphoneviewcustomizationvoip.cpp	Fri Sep 03 13:33:36 2010 +0300
@@ -15,7 +15,6 @@
 *
 */
 
-#include <cconvergedserviceselector.h>
 #include "cphoneviewcustomizationvoip.h"
 #include "mphoneviewblockingdialogobserver.h"
 #include "phonestatedefinitionsvoip.h"
@@ -46,7 +45,6 @@
 //
 void CPhoneViewCustomizationVoip::ConstructL()
     {
-    iServiceSelector = CConvergedServiceSelector::NewL();
     }
 
 
@@ -86,7 +84,6 @@
 //
 CPhoneViewCustomizationVoip::~CPhoneViewCustomizationVoip()
     {
-    delete iServiceSelector;
     }
 
 
@@ -138,9 +135,6 @@
     {
     __LOGMETHODSTARTEND( PhoneUIVoIPExtension, 
         "CPhoneViewCustomizationVoip::RemoveDialog" );
-    
-    // Dismiss service selector queries, if necessary
-    iServiceSelector->CancelSelection();
     }
 
 
@@ -155,24 +149,5 @@
     __LOGMETHODSTARTEND( PhoneUIVoIPExtension, 
         "CPhoneViewCustomizationVoip::SelectVoipService" );
     
-    // Indicate that the service selection is blocking key events 
-    // from the Phone.
-    aBlockingObserver.SetBlockingDialogIsDisplayed( ETrue );
-    
-    CConvergedServiceSelector::TSsResult results;
-    TInt selectionResult = iServiceSelector->GetCallingServiceByCallType( 
-        results, CConvergedServiceSelector::ESsVoipCall, 0, EFalse );
-    
-    if ( KErrNone == selectionResult )
-        {
-        TPhoneCmdParamSelector* selectorContent =
-            static_cast<TPhoneCmdParamSelector*>( aCommandParam );
-        selectorContent->SetRegStatus( results.iServiceEnabled );
-        selectorContent->SetServiceId( results.iServiceId );
-        }
-    
-    // Reset the flag
-    aBlockingObserver.SetBlockingDialogIsDisplayed( EFalse );
-    
-    return ( KErrNone == selectionResult );
+    return ETrue;
     }