summaryrefslogtreecommitdiff
path: root/sd/source/ui/remotecontrol/BluetoothServer.hxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-02-18 13:31:21 +0000
committerThorsten Behrens <tbehrens@suse.com>2013-02-19 13:00:24 +0100
commit25819137fe00afa6ec5cb900a742fa9368a52a16 (patch)
tree7634be43d151a18440b652f435fc8b5132e6bb46 /sd/source/ui/remotecontrol/BluetoothServer.hxx
parent7848b97462a088521986ba200ee2fd55982667bb (diff)
sdremote: re-work discoverable property get/set to use libdbus.
Change-Id: I5e11a0fcfd8db648a40c738cbc8181889cb36136 (cherry picked from commit 618fe83d6e8aeabc309540fae998aeb78465bb4d) Signed-off-by: Thorsten Behrens <tbehrens@suse.com>
Diffstat (limited to 'sd/source/ui/remotecontrol/BluetoothServer.hxx')
-rw-r--r--sd/source/ui/remotecontrol/BluetoothServer.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.hxx b/sd/source/ui/remotecontrol/BluetoothServer.hxx
index b922d6094901..24b8dec36ba2 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.hxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.hxx
@@ -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;