Fix coding style and add more classes

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22667 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Ruiz Dorantes
2007-10-22 17:51:59 +00:00
parent 2eaecb7b33
commit 7044da5546
5 changed files with 206 additions and 75 deletions
+27 -27
View File
@@ -15,34 +15,34 @@
namespace Bluetooth {
class DiscoveryAgent;
class DiscoveryAgent;
class LocalDevice {
public:
/* Possible throwing */
static LocalDevice* getLocalDevice();
static LocalDevice* getLocalDevice(uint8 dev);
static LocalDevice* getLocalDevice(bdaddr_t bdaddr);
DiscoveryAgent* getDiscoveryAgent();
BString getFriendlyName();
DeviceClass getDeviceClass();
/* Possible throwing */
bool setDiscoverable(int mode);
BString getProperty(const char* property);
void getProperty(const char* property, uint32* value);
int getDiscoverable();
BString getBluetoothAddress();
/*
ServiceRecord getRecord(Connection notifier);
void updateRecord(ServiceRecord srvRecord);
*/
private:
LocalDevice();
};
class LocalDevice {
public:
/* Possible throwing */
static LocalDevice* GetLocalDevice();
static LocalDevice* GetLocalDevice(uint8 dev);
static LocalDevice* GetLocalDevice(bdaddr_t bdaddr);
DiscoveryAgent* GetDiscoveryAgent();
BString GetFriendlyName();
DeviceClass GetDeviceClass();
/* Possible throwing */
bool SetDiscoverable(int mode);
BString GetProperty(const char* property);
void GetProperty(const char* property, uint32* value);
int GetDiscoverable();
BString GetBluetoothAddress();
/*
ServiceRecord getRecord(Connection notifier);
void updateRecord(ServiceRecord srvRecord);
*/
private:
LocalDevice();
};
}