Cleapups, Fix memory leaks,
Patch by Mika Lindqvist. Could we give give him Commit access? I am getting daily patches from him with fixes and new features. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26227 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -28,6 +28,8 @@ class RemoteDevice : public BluetoothDevice {
|
||||
static const int WAIT = B_BT_WAIT;
|
||||
static const int SUCCEEDED = B_BT_SUCCEEDED;
|
||||
|
||||
virtual ~RemoteDevice();
|
||||
|
||||
bool IsTrustedDevice();
|
||||
BString GetFriendlyName(bool alwaysAsk); /* Throwing */
|
||||
BString GetFriendlyName(void); /* Throwing */
|
||||
@@ -52,6 +54,8 @@ class RemoteDevice : public BluetoothDevice {
|
||||
RemoteDevice(BString address);
|
||||
RemoteDevice(bdaddr_t address);
|
||||
|
||||
|
||||
|
||||
/* Instances of this class only would be instantiated by Discovery[Listener|Agent] */
|
||||
friend class DiscoveryListener;
|
||||
void SetLocalDeviceOwner(LocalDevice* ld);
|
||||
@@ -59,6 +63,7 @@ class RemoteDevice : public BluetoothDevice {
|
||||
private:
|
||||
|
||||
LocalDevice* fDiscovererLocalDevice;
|
||||
BMessenger* fMessenger;
|
||||
|
||||
uint8 fPageRepetitionMode;
|
||||
uint8 fScanPeriodMode;
|
||||
|
||||
Reference in New Issue
Block a user