11#include <osl/thread.hxx>
15#include <config_dbus.h>
17#if (defined(LINUX) && !defined(__FreeBSD_kernel__)) && ENABLE_DBUS && DBUS_HAVE_GLIB
18# define LINUX_BLUETOOTH
29 static void setup( std::vector<Communicator*>* pCommunicators );
52 std::unique_ptr<Impl> mpImpl;
54 virtual void SAL_CALL
run()
override;
enum sd::BluetoothServer::@0 meWasDiscoverable
static void restoreDiscoverable()
restore the state of discoverability from before ensureDiscoverable
static void setup(std::vector< Communicator * > *pCommunicators)
static void ensureDiscoverable()
ensure that Bluetooth discoverability is on
std::vector< Communicator * > * mpCommunicators
static void doEnsureDiscoverable()
virtual void SAL_CALL run() override
static BluetoothServer * spServer
BluetoothServer(std::vector< Communicator * > *pCommunicators)
void cleanupCommunicators()
virtual ~BluetoothServer() override
static void doRestoreDiscoverable()
Class used for communication with one single client, dealing with all tasks specific to this client.