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:
Oliver Ruiz Dorantes 2007-10-21 17:58:38 +00:00
parent c36b70586d
commit 3dfa121266
3 changed files with 120 additions and 0 deletions

View File

@ -82,6 +82,7 @@ SEARCH on [ FGristFiles syslog.cpp ]
SubInclude HAIKU_TOP src kits app ;
SubInclude HAIKU_TOP src kits bluetooth ;
SubInclude HAIKU_TOP src kits debug ;
SubInclude HAIKU_TOP src kits device ;
SubInclude HAIKU_TOP src kits game ;

View File

@ -0,0 +1,6 @@
SubDir HAIKU_TOP src kits bluetooth ;
SharedLibrary libbluetooth.so :
LocalDevice.cpp
: be
;

View File

@ -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() {
}
}