LibreOffice Module sd (master) 1
|
#include <BluetoothServer.hxx>
Static Public Member Functions | |
static void | setup (std::vector< Communicator * > *pCommunicators) |
static void | ensureDiscoverable () |
ensure that Bluetooth discoverability is on More... | |
static void | restoreDiscoverable () |
restore the state of discoverability from before ensureDiscoverable More... | |
static void | doEnsureDiscoverable () |
static void | doRestoreDiscoverable () |
Private Types | |
enum | { UNKNOWN , DISCOVERABLE , NOT_DISCOVERABLE } |
Private Member Functions | |
BluetoothServer (std::vector< Communicator * > *pCommunicators) | |
virtual | ~BluetoothServer () override |
virtual void SAL_CALL | run () override |
void | cleanupCommunicators () |
Private Attributes | |
enum sd::BluetoothServer:: { ... } | meWasDiscoverable |
std::vector< Communicator * > * | mpCommunicators |
Static Private Attributes | |
static BluetoothServer * | spServer = nullptr |
Definition at line 25 of file BluetoothServer.hxx.
|
private |
Enumerator | |
---|---|
UNKNOWN | |
DISCOVERABLE | |
NOT_DISCOVERABLE |
Definition at line 47 of file BluetoothServer.hxx.
|
explicitprivate |
|
overrideprivatevirtual |
Definition at line 1082 of file BluetoothServer.cxx.
|
private |
Definition at line 1150 of file BluetoothServer.cxx.
References mpCommunicators.
Referenced by run().
|
static |
Definition at line 1114 of file BluetoothServer.cxx.
References DISCOVERABLE, meWasDiscoverable, NOT_DISCOVERABLE, spServer, and UNKNOWN.
|
static |
Definition at line 1134 of file BluetoothServer.cxx.
References meWasDiscoverable, NOT_DISCOVERABLE, spServer, and UNKNOWN.
|
static |
ensure that Bluetooth discoverability is on
Definition at line 1086 of file BluetoothServer.cxx.
References spServer.
Referenced by sd::RemoteServer::ensureDiscoverable().
|
static |
restore the state of discoverability from before ensureDiscoverable
Definition at line 1100 of file BluetoothServer.cxx.
References spServer.
Referenced by sd::RemoteServer::restoreDiscoverable().
|
overrideprivatevirtual |
Definition at line 1158 of file BluetoothServer.cxx.
References aName, cleanupCommunicators(), init(), salhelper::Thread::launch(), length, mpCommunicators, SAL_INFO, SAL_WARN, SAL_WNODEPRECATED_DECLARATIONS_POP, and SAL_WNODEPRECATED_DECLARATIONS_PUSH.
|
static |
Definition at line 1512 of file BluetoothServer.cxx.
References BluetoothServer(), and spServer.
Referenced by sd::RemoteServer::setup().
enum { ... } sd::BluetoothServer::meWasDiscoverable |
Referenced by doEnsureDiscoverable(), and doRestoreDiscoverable().
|
private |
Definition at line 57 of file BluetoothServer.hxx.
Referenced by cleanupCommunicators(), and run().
|
staticprivate |
Definition at line 48 of file BluetoothServer.hxx.
Referenced by doEnsureDiscoverable(), doRestoreDiscoverable(), ensureDiscoverable(), restoreDiscoverable(), and setup().