Dummy implementation of the LocalDevice class
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22642 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -82,6 +82,7 @@ SEARCH on [ FGristFiles syslog.cpp ]
|
|||||||
|
|
||||||
|
|
||||||
SubInclude HAIKU_TOP src kits app ;
|
SubInclude HAIKU_TOP src kits app ;
|
||||||
|
SubInclude HAIKU_TOP src kits bluetooth ;
|
||||||
SubInclude HAIKU_TOP src kits debug ;
|
SubInclude HAIKU_TOP src kits debug ;
|
||||||
SubInclude HAIKU_TOP src kits device ;
|
SubInclude HAIKU_TOP src kits device ;
|
||||||
SubInclude HAIKU_TOP src kits game ;
|
SubInclude HAIKU_TOP src kits game ;
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
SubDir HAIKU_TOP src kits bluetooth ;
|
||||||
|
|
||||||
|
SharedLibrary libbluetooth.so :
|
||||||
|
LocalDevice.cpp
|
||||||
|
: be
|
||||||
|
;
|
||||||
@@ -0,0 +1,113 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2007 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
|
||||||
|
*
|
||||||
|
* All rights reserved. Distributed under the terms of the MIT License.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include <bluetooth/LocalDevice.h>
|
||||||
|
#include <bluetooth/bdaddrUtils.h>
|
||||||
|
|
||||||
|
namespace Bluetooth {
|
||||||
|
|
||||||
|
|
||||||
|
LocalDevice*
|
||||||
|
LocalDevice::getLocalDevice() {
|
||||||
|
|
||||||
|
return NULL;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
LocalDevice*
|
||||||
|
LocalDevice::getLocalDevice(uint8 dev) {
|
||||||
|
|
||||||
|
return NULL;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
LocalDevice*
|
||||||
|
LocalDevice::getLocalDevice(bdaddr_t bdaddr){
|
||||||
|
|
||||||
|
return NULL;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
DiscoveryAgent*
|
||||||
|
LocalDevice::getDiscoveryAgent() {
|
||||||
|
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
BString
|
||||||
|
LocalDevice::getFriendlyName() {
|
||||||
|
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
DeviceClass
|
||||||
|
LocalDevice::getDeviceClass() {
|
||||||
|
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
bool
|
||||||
|
LocalDevice::setDiscoverable(int mode) {
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
BString
|
||||||
|
LocalDevice::getProperty(const char* property) {
|
||||||
|
|
||||||
|
return NULL;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
LocalDevice::getProperty(const char* property, uint32* value) {
|
||||||
|
|
||||||
|
*value = 0;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int
|
||||||
|
LocalDevice::getDiscoverable() {
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
BString
|
||||||
|
LocalDevice::getBluetoothAddress() {
|
||||||
|
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
ServiceRecord
|
||||||
|
LocalDevice::getRecord(Connection notifier) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
LocalDevice::updateRecord(ServiceRecord srvRecord) {
|
||||||
|
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
LocalDevice::LocalDevice() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user