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:
Oliver Ruiz Dorantes
2008-07-02 19:41:45 +00:00
parent 765ae3a785
commit 9bfe62f9aa
5 changed files with 79 additions and 63 deletions
+5
View File
@@ -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;