Browse Source

devicemanager: allow_device, list_devices DBus methods

bboozzoo/dbus-support-interfaces
Maciek Borzecki 8 years ago
parent
commit
b16e1491d5
1 changed files with 20 additions and 0 deletions
  1. +20
    -0
      src/mconnect/devicemanager.vala

+ 20
- 0
src/mconnect/devicemanager.vala View File

@ -178,4 +178,24 @@ class DeviceManager : GLib.Object
debug("device %s got disconnected", dev.to_string()); debug("device %s got disconnected", dev.to_string());
} }
/**
* allow_device:
* @path: device object path
*
* Allow given device
*/
public void allow_device(string path) {
}
/**
* list_devices:
*
* Returns a list of DBus paths of all known devices
*/
public ObjectPath[] list_devices() {
ObjectPath[] devices = {};
return devices;
}
} }

Loading…
Cancel
Save