diff options
| author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2026-06-11 19:48:56 +0200 |
|---|---|---|
| committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2026-06-11 19:48:56 +0200 |
| commit | 2029b239afb208d71beb811dfdd2797fd19386f2 (patch) | |
| tree | 287bb138473659493c2577128e76055dab9de0eb /src/bluetooth.vala | |
| parent | adcf4f81e2d32e3b1bf886f4627ad9b1c1fa4b3f (diff) | |
| parent | 8c3c7f06b3d9554599b022e7ac7227540389ba35 (diff) | |
| download | ayatana-indicator-bluetooth-2029b239afb208d71beb811dfdd2797fd19386f2.tar.gz ayatana-indicator-bluetooth-2029b239afb208d71beb811dfdd2797fd19386f2.tar.bz2 ayatana-indicator-bluetooth-2029b239afb208d71beb811dfdd2797fd19386f2.zip | |
Merge branch 'muhammad23012009-main'
Attributes GH PR #58: https://github.com/AyatanaIndicators/ayatana-indicator-bluetooth/pull/58
Diffstat (limited to 'src/bluetooth.vala')
| -rw-r--r-- | src/bluetooth.vala | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/bluetooth.vala b/src/bluetooth.vala index 0cc5432..47c6f8e 100644 --- a/src/bluetooth.vala +++ b/src/bluetooth.vala @@ -46,10 +46,22 @@ public interface Bluetooth: Object /* Get a list of the Device structs that we know about */ public abstract List<unowned Device> get_devices (); + /* Get a Device from its DBus path */ + public abstract Device get_device (ObjectPath path); + /* Emitted when one or more of the devices is added, removed, or changed */ public signal void devices_changed (); /* Try to connect/disconnect a particular device. The device_key argument comes from the Device struct */ public abstract void set_device_connected (uint device_key, bool connected); + + /* Sets whether or not a device is trusted (allowed to connect without authorization) */ + public abstract void set_device_trusted (uint device_key, bool trusted); + + public abstract string get_device_name (ObjectPath path); + + public signal void agent_manager_ready (); + + public abstract void add_agent (string path); } |
