mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Separate BluetoothAdapter into Adapter and BluezAdapter classes.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user