aboutsummaryrefslogtreecommitdiff
path: root/src/device.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.vala')
-rw-r--r--src/device.vala5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/device.vala b/src/device.vala
index 51bec03..e984a35 100644
--- a/src/device.vala
+++ b/src/device.vala
@@ -46,10 +46,11 @@ public class Device: Object
public Icon icon { get; construct; }
public bool is_connectable { get; construct; }
public bool is_connected { get; construct; }
+ public bool is_trusted { get; construct; }
public bool supports_browsing { get; construct; }
public bool supports_file_transfer { get; construct; }
public string print() {
- return @"{id:$id, name:$name, address:$address, icon:$(icon.to_string()), device_type:$device_type, is_connectable:$is_connectable, is_connected:$is_connected, supports_browsing:$supports_browsing, supports_file_transfer:$supports_file_transfer}";
+ return @"{id:$id, name:$name, address:$address, icon:$(icon.to_string()), device_type:$device_type, is_connectable:$is_connectable, is_connected:$is_connected, is_trusted:$is_trusted, supports_browsing:$supports_browsing, supports_file_transfer:$supports_file_transfer}";
}
public Device (uint id,
@@ -59,6 +60,7 @@ public class Device: Object
Icon icon,
bool is_connectable,
bool is_connected,
+ bool is_trusted,
bool supports_browsing,
bool supports_file_transfer)
{
@@ -69,6 +71,7 @@ public class Device: Object
icon: icon,
is_connectable: is_connectable,
is_connected: is_connected,
+ is_trusted: is_trusted,
supports_browsing: supports_browsing,
supports_file_transfer: supports_file_transfer);
}