bluetoothengine/bteng/src/btengserver.cpp
branchRCL_3
changeset 16 b23265fb36da
parent 13 b6f55cd40afd
child 28 7e2761e776bd
child 55 613943a21004
--- a/bluetoothengine/bteng/src/btengserver.cpp	Wed Apr 14 16:09:00 2010 +0300
+++ b/bluetoothengine/bteng/src/btengserver.cpp	Tue Apr 27 16:49:44 2010 +0300
@@ -165,7 +165,7 @@
     iWatcher = CBTEngSrvKeyWatcher::NewL( this );
     iSettingsMgr = CBTEngSrvSettingsMgr::NewL( this );
     iPluginMgr = CBTEngSrvPluginMgr::NewL( this );
-    iBBConnMgr = CBTEngSrvBBConnMgr::NewL( iSocketServ );
+    iBBConnMgr = CBTEngSrvBBConnMgr::NewL( this, iSocketServ );
 
     User::LeaveIfError( iBTRegServ.Connect() );
     iPairMan = CBTEngPairMan::NewL( *this );
@@ -256,12 +256,11 @@
 // ?implementation_description
 // ---------------------------------------------------------------------------
 //
-void CBTEngServer::DisconnectAllL()
+void CBTEngServer::DisconnectAllForPowerOffL()
     {
     TRACE_FUNC_ENTRY
-    iPluginMgr->DisconnectAllPlugins();
     TCallBack cb( DisconnectAllCallBack, this );
-    iBBConnMgr->DisconnectAllLinksL( cb );
+    iBBConnMgr->DisconnectAllLinksForPowerOffL( cb );
     }