Kaydet (Commit) e8f2870b authored tarafından Michael Meeks's avatar Michael Meeks

sdremote: re-work discoverable property get/set to use libdbus.

Change-Id: I5e11a0fcfd8db648a40c738cbc8181889cb36136
üst 033a2c71
......@@ -28,15 +28,15 @@ namespace sd
/// restore the state of discoverability from before ensureDiscoverable
static void restoreDiscoverable();
void addCommunicator( Communicator* pCommunicator );
// called by C / idle callbacks
static void doEnsureDiscoverable();
static void doRestoreDiscoverable();
void addCommunicator( Communicator* pCommunicator );
private:
BluetoothServer( std::vector<Communicator*>* pCommunicators );
~BluetoothServer();
bool isDiscoverable();
void setDiscoverable( bool bDiscoverable );
enum { UNKNOWN, DISCOVERABLE, NOT_DISCOVERABLE } meWasDiscoverable;
static BluetoothServer *spServer;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment