diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-12-18 06:56:59 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-12-18 06:56:59 -0600 |
commit | c2536fe01234b4c7d1755f0806053b4c21a26c71 (patch) | |
tree | e72ea137eb67adb0f47c91864303a8cbba430538 /src/bluetooth.vala | |
parent | 33dc5dc1c369eaf6dc53eed4759731441b4618fb (diff) | |
parent | a99685027a4eb04112ca1c27e0c9423d0f9a4518 (diff) | |
download | ayatana-indicator-bluetooth-c2536fe01234b4c7d1755f0806053b4c21a26c71.tar.gz ayatana-indicator-bluetooth-c2536fe01234b4c7d1755f0806053b4c21a26c71.tar.bz2 ayatana-indicator-bluetooth-c2536fe01234b4c7d1755f0806053b4c21a26c71.zip |
sync with trunk
Diffstat (limited to 'src/bluetooth.vala')
-rw-r--r-- | src/bluetooth.vala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bluetooth.vala b/src/bluetooth.vala index b268701..c711e19 100644 --- a/src/bluetooth.vala +++ b/src/bluetooth.vala @@ -32,6 +32,9 @@ public interface Bluetooth: Object eg by a laptop's network killswitch */ public abstract bool enabled { get; protected set; } + /* True if we have a connected device. */ + public abstract bool connected { get; protected set; } + /* Try to enable/disable bluetooth. This can fail if it's overridden by the system, eg by a laptop's network killswitch */ public abstract void try_set_enabled (bool b); |