Add 'public' headers in order all stuff actually compiles
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23816 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -11,8 +11,14 @@
|
||||
#include <bluetooth/bluetooth.h>
|
||||
#include <bluetooth/DeviceClass.h>
|
||||
|
||||
#include <bluetooth/HCI/btHCI.h>
|
||||
|
||||
#include <Messenger.h>
|
||||
#include <Message.h>
|
||||
|
||||
#include <String.h>
|
||||
|
||||
|
||||
namespace Bluetooth {
|
||||
|
||||
class DiscoveryAgent;
|
||||
@@ -22,7 +28,9 @@ class LocalDevice {
|
||||
public:
|
||||
/* Possible throwing */
|
||||
static LocalDevice* GetLocalDevice();
|
||||
static LocalDevice* GetLocalDevice(uint8 dev);
|
||||
static uint32 GetLocalDeviceCount();
|
||||
|
||||
static LocalDevice* GetLocalDevice(hci_id hid);
|
||||
static LocalDevice* GetLocalDevice(bdaddr_t bdaddr);
|
||||
|
||||
DiscoveryAgent* GetDiscoveryAgent();
|
||||
@@ -35,13 +43,22 @@ class LocalDevice {
|
||||
void GetProperty(const char* property, uint32* value);
|
||||
|
||||
int GetDiscoverable();
|
||||
BString GetBluetoothAddress();
|
||||
/*
|
||||
bdaddr_t GetBluetoothAddress();
|
||||
/*
|
||||
ServiceRecord getRecord(Connection notifier);
|
||||
void updateRecord(ServiceRecord srvRecord);
|
||||
*/
|
||||
*/
|
||||
private:
|
||||
LocalDevice();
|
||||
LocalDevice(hci_id hid);
|
||||
|
||||
static status_t SRetrieveBluetoothMessenger(void);
|
||||
status_t RetrieveBluetoothMessenger(void);
|
||||
static LocalDevice* RequestLocalDeviceID(BMessage* request);
|
||||
|
||||
static BMessenger* sfMessenger;
|
||||
BMessenger* fMessenger;
|
||||
|
||||
hci_id hid;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user