- 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:
Oliver Ruiz Dorantes 2008-04-15 22:26:32 +00:00
parent ae3633b049
commit be79ee53e1
4 changed files with 24 additions and 3 deletions

View File

@ -57,4 +57,8 @@ class DeviceClass {
}
#ifndef _BT_USE_EXPLICIT_NAMESPACE
using Bluetooth::DeviceClass;
#endif
#endif

View File

@ -55,14 +55,20 @@ class DiscoveryAgent {
*/
private:
DiscoveryAgent();
DiscoveryAgent(LocalDevice* ld);
void SetLocalDeviceOwner(LocalDevice* ld);
DiscoveryListener* fLastUsedListener;
LocalDevice* fLocalDevice;
friend class LocalDevice;
};
}
#ifndef _BT_USE_EXPLICIT_NAMESPACE
using Bluetooth::DiscoveryAgent;
#endif
#endif

View File

@ -52,8 +52,7 @@ class DiscoveryListener : public BLooper {
virtual void InquiryStarted(status_t status);
private:
DiscoveryListener();
void SetLocalDeviceOwner(LocalDevice* ld);
RemoteDevicesList GetRemoteDevicesList(void);
void MessageReceived(BMessage* msg);
@ -62,8 +61,16 @@ class DiscoveryListener : public BLooper {
RemoteDevicesList fRemoteDevicesList;
friend class DiscoveryAgent;
protected:
DiscoveryListener();
void SetLocalDeviceOwner(LocalDevice* ld);
};
}
#ifndef _BT_USE_EXPLICIT_NAMESPACE
using Bluetooth::DiscoveryListener;
#endif
#endif

View File

@ -58,4 +58,8 @@ class RemoteDevice {
}
#ifndef _BT_USE_EXPLICIT_NAMESPACE
using Bluetooth::RemoteDevice;
#endif
#endif