Separate BluetoothAdapter into Adapter and BluezAdapter classes.

This commit is contained in:
Vibhav Pant
2023-08-29 15:47:13 +05:30
parent 6abeac91ce
commit adb1e1d235
6 changed files with 78 additions and 76 deletions
@@ -178,7 +178,7 @@ ImplementationPlatform::CreateBluetoothAdapter() {
std::unique_ptr<api::BluetoothClassicMedium>
ImplementationPlatform::CreateBluetoothClassicMedium(
BluetoothAdapter &adapter) {
auto path = static_cast<linux::BluetoothAdapter *>(&adapter)->getObjectPath();
auto path = static_cast<linux::BluetoothAdapter *>(&adapter)->GetObjectPath();
return std::make_unique<linux::BluetoothClassicMedium>(
linux::getSystemBusConnection(), path);
}