- Add Implicit namespaces
- Fix constructors & and friend classes git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24976 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -57,4 +57,8 @@ class DeviceClass {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef _BT_USE_EXPLICIT_NAMESPACE
|
||||||
|
using Bluetooth::DeviceClass;
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -55,14 +55,20 @@ class DiscoveryAgent {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DiscoveryAgent();
|
DiscoveryAgent(LocalDevice* ld);
|
||||||
void SetLocalDeviceOwner(LocalDevice* ld);
|
void SetLocalDeviceOwner(LocalDevice* ld);
|
||||||
|
|
||||||
DiscoveryListener* fLastUsedListener;
|
DiscoveryListener* fLastUsedListener;
|
||||||
LocalDevice* fLocalDevice;
|
LocalDevice* fLocalDevice;
|
||||||
|
|
||||||
|
friend class LocalDevice;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef _BT_USE_EXPLICIT_NAMESPACE
|
||||||
|
using Bluetooth::DiscoveryAgent;
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -52,8 +52,7 @@ class DiscoveryListener : public BLooper {
|
|||||||
virtual void InquiryStarted(status_t status);
|
virtual void InquiryStarted(status_t status);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DiscoveryListener();
|
|
||||||
void SetLocalDeviceOwner(LocalDevice* ld);
|
|
||||||
RemoteDevicesList GetRemoteDevicesList(void);
|
RemoteDevicesList GetRemoteDevicesList(void);
|
||||||
|
|
||||||
void MessageReceived(BMessage* msg);
|
void MessageReceived(BMessage* msg);
|
||||||
@@ -62,8 +61,16 @@ class DiscoveryListener : public BLooper {
|
|||||||
RemoteDevicesList fRemoteDevicesList;
|
RemoteDevicesList fRemoteDevicesList;
|
||||||
|
|
||||||
friend class DiscoveryAgent;
|
friend class DiscoveryAgent;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
DiscoveryListener();
|
||||||
|
void SetLocalDeviceOwner(LocalDevice* ld);
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef _BT_USE_EXPLICIT_NAMESPACE
|
||||||
|
using Bluetooth::DiscoveryListener;
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -58,4 +58,8 @@ class RemoteDevice {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef _BT_USE_EXPLICIT_NAMESPACE
|
||||||
|
using Bluetooth::RemoteDevice;
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user