diff --git a/src/mconnect/devicemanager-proxy.vala b/src/mconnect/devicemanager-proxy.vala index 22de62c..eb44782 100644 --- a/src/mconnect/devicemanager-proxy.vala +++ b/src/mconnect/devicemanager-proxy.vala @@ -24,6 +24,10 @@ class DeviceManagerDBusProxy : Object { private DeviceManager manager; + public signal void device_added(string path); + + public signal void device_removed(string path); + private const string DBUS_PATH = "/org/mconnect/manager"; private DBusConnection bus = null; private HashMap devices; @@ -111,6 +115,7 @@ class DeviceManagerDBusProxy : Object info("register device %s under path %s", dev.to_string(), path); device_proxy.bus_register(this.bus); + device_added(path); } private DeviceDBusProxy? find_proxy_for_device(Device dev) {