summaryrefslogtreecommitdiff
path: root/lib/bluetooth-client.h
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-06-11 18:28:36 +0100
committerBastien Nocera <hadess@hadess.net>2013-06-13 15:14:51 +0200
commite0a3511f7f3c5fcc7c128b0e1e37dc743351fcec (patch)
tree368f3d672f8a2274bf7321d9313eac86d7d630dd /lib/bluetooth-client.h
parentb92ba708c6d928994c96ce0784d79de2e2f1e1cd (diff)
downloadgnome-bluetooth-e0a3511f7f3c5fcc7c128b0e1e37dc743351fcec.tar.gz
lib: add bluetooth_client_get_connectable()
tells if a device can be connected directly by the user or if only other components can trigger connections. The implementation for BlueZ 4 used to have the same information but based on D-Bus interface available. Now we just rely on the uuids to get the same behaviour. https://bugzilla.gnome.org/show_bug.cgi?id=701399
Diffstat (limited to 'lib/bluetooth-client.h')
-rw-r--r--lib/bluetooth-client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bluetooth-client.h b/lib/bluetooth-client.h
index a3d0b358..d434bb92 100644
--- a/lib/bluetooth-client.h
+++ b/lib/bluetooth-client.h
@@ -76,6 +76,8 @@ gboolean bluetooth_client_connect_service_finish (BluetoothClient *client,
GAsyncResult *res,
GError **error);
+gboolean bluetooth_client_get_connectable(const char **uuids);
+
G_END_DECLS
#endif /* __BLUETOOTH_CLIENT_H */