Add DiscoveryAgent skeleton

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24318 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Ruiz Dorantes 2008-03-09 00:39:32 +00:00
parent 009fac9906
commit a8006c78f0
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,44 @@
/*
* Copyright 2007-2008 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
*
* All rights reserved. Distributed under the terms of the MIT License.
*
*/
#include <bluetooth/DiscoveryAgent.h>
#include <bluetooth/DiscoveryListener.h>
#include <bluetooth/RemoteDevice.h>
namespace Bluetooth {
RemoteDevice**
DiscoveryAgent::RetrieveDevices(int option)
{
return NULL;
}
bool
DiscoveryAgent::StartInquiry(int accessCode, DiscoveryListener listener)
{
return false;
}
bool
DiscoveryAgent::CancelInquiry(DiscoveryListener listener)
{
return false;
}
DiscoveryAgent::DiscoveryAgent()
{
}
}

View File

@ -10,6 +10,7 @@ UsePrivateHeaders bluetooth ;
SharedLibrary libbluetooth.so :
LocalDevice.cpp
DiscoveryAgent.cpp
DiscoveryListener.cpp
: be
;