bluetoothengine/btsac/btrcc/src/btrccLinker.cpp
branchRCL_3
changeset 61 269724087bed
parent 54 0ba996a9b75d
child 72 4b59561a31c0
--- a/bluetoothengine/btsac/btrcc/src/btrccLinker.cpp	Wed Sep 01 12:20:04 2010 +0100
+++ b/bluetoothengine/btsac/btrcc/src/btrccLinker.cpp	Tue Sep 14 21:37:10 2010 +0300
@@ -21,14 +21,12 @@
 #include <btaccObserver.h>
 #include <remconinterfaceselector.h>  
 #include <remconaddress.h> 
-#include <remconcoreapitarget.h>
 #include <apacmdln.h>
 #include <apgcli.h>
 #include "btaudioremconpskeys.h"
 #include "btrccLegacyVolumeLevelController.h"
 #include "btrccAbsoluteVolumeLevelController.h"
 #include "btrccLinker.h"
-#include "btrccplayerstarter.h"
 #include "btrccBrowsingAdapter.h"
 #include "debug.h"
 #include <btnotif.h>
@@ -122,10 +120,6 @@
         // If volume control is not supported, we'll need another interface selector session for disconnecting. 
         iInterfaceSelectorForDisconnectingTargetSession = CRemConInterfaceSelector::NewL(); 
     	}
-    
-    iPlayerStarter = CPlayerStarter::NewL();
-    iCoreTarget = CRemConCoreApiTarget::NewL(*iInterfaceSelector, *iPlayerStarter);
-    iPlayerStarter->SetCoreTarget(*iCoreTarget);
 
     iRemConBatteryTgt = CRemConBatteryApiTarget::NewL(*iInterfaceSelector, *this);
 
@@ -156,7 +150,6 @@
 	
     delete iAbsoluteVolController;
     delete iLegacyVolController;
-	delete iPlayerStarter;
 	Cancel();
     iStateArray.ResetAndDestroy();
     iStateArray.Close();