summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/RemoteServer.hxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-02-18 09:24:23 +0000
committerMichael Meeks <michael.meeks@suse.com>2013-02-19 09:12:00 +0000
commitfe72f19a9b80d9cfa2de9a10fa2e0aa0c9a7b4ae (patch)
treecfb7bf844fee1feacb99def99d6c1820ba95f71a /sd/source/ui/inc/RemoteServer.hxx
parent3708fe8434ad6f64d527215f4619556b0a5701ff (diff)
improve bluetooth discoverability toggling API.
Change-Id: I289d43fcb173b64b01183a41f780bc74d2ba0abe
Diffstat (limited to 'sd/source/ui/inc/RemoteServer.hxx')
-rw-r--r--sd/source/ui/inc/RemoteServer.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sd/source/ui/inc/RemoteServer.hxx b/sd/source/ui/inc/RemoteServer.hxx
index 740465c2934c..f209561fcd49 100644
--- a/sd/source/ui/inc/RemoteServer.hxx
+++ b/sd/source/ui/inc/RemoteServer.hxx
@@ -66,8 +66,10 @@ namespace sd
SD_DLLPUBLIC static sal_Bool connectClient( ClientInfo *pClient,
rtl::OUString aPin );
- SD_DLLPUBLIC static bool isBluetoothDiscoverable();
- SD_DLLPUBLIC static void setBluetoothDiscoverable( bool aDiscoverable );
+ /// ensure that discoverability (eg. for Bluetooth) is enabled
+ SD_DLLPUBLIC static void ensureDiscoverable();
+ /// restore the state of discoverability from before ensureDiscoverable
+ SD_DLLPUBLIC static void restoreDiscoverable();
// For the communicator
static void removeCommunicator( Communicator* pCommunicator );