[Bluetooth] Add bluetooth power off listener for GATTServer
[platform/core/api/webapi-plugins.git] / src / bluetooth / bluetooth_instance.cc
index ad0e2b0..0a6bd70 100644 (file)
@@ -190,6 +190,10 @@ common::Worker& BluetoothInstance::GetWorker() {
   return worker;
 }
 
+BluetoothAdapter& BluetoothInstance::GetBluetoothAdapter() {
+  return bluetooth_adapter_;
+}
+
 void BluetoothInstance::BluetoothAdapterSetName(const picojson::value& args,
                                                 picojson::object& out) {
   ScopeLogger();