diff --git a/src/device.vala b/src/device.vala index 2ce6586..69c99f7 100644 --- a/src/device.vala +++ b/src/device.vala @@ -18,6 +18,9 @@ * Maciek Borzecki */ +/** + * General device wrapper. + */ class Device : Object { public string device_id { get; private set; default = ""; } public string device_name { get; private set; default = ""; } @@ -47,8 +50,11 @@ class Device : Object { } + /** + * Generates a unique string for this device + */ public string to_unique_string() { - return ""; + return this.to_string().replace(" ", "-"); } public string to_string() {