From b94e17518b9d7d4806c81a2c42e9ff89780ef2bc Mon Sep 17 00:00:00 2001 From: Oliver Ruiz Dorantes Date: Wed, 2 Jul 2008 18:28:00 +0000 Subject: [PATCH] Implement RemoteDevice contructor by String git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26224 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/bluetooth/RemoteDevice.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/kits/bluetooth/RemoteDevice.cpp b/src/kits/bluetooth/RemoteDevice.cpp index 2349853ac2..41bc285b02 100644 --- a/src/kits/bluetooth/RemoteDevice.cpp +++ b/src/kits/bluetooth/RemoteDevice.cpp @@ -160,8 +160,7 @@ RemoteDevice::RemoteDevice(bdaddr_t address) RemoteDevice::RemoteDevice(BString address) { - /* TODO */ - + fBdaddr = bdaddrUtils::FromString((const char *)address.String()); } @@ -180,11 +179,11 @@ RemoteDevice::GetProperty(const char* property, uint32* value) /* Throwing */ } -} - - DeviceClass RemoteDevice::GetDeviceClass() { return fDeviceClass; } + + +}