summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriain <iain@linux.intel.com>2011-08-24 17:01:46 +0100
committeriain <iain@linux.intel.com>2011-09-26 12:59:41 +0100
commitd13ff275f557bff7fb4c35fb86f2e970ce9685e1 (patch)
tree92b0390c7b3a26e89d2e23de638ba10bc6edaf47
parentabaa08e7191fe7d3af0dcec7242475a2162e819d (diff)
Add a new Discovery interface
-rw-r--r--interfaces/gypsy-discovery.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/interfaces/gypsy-discovery.xml b/interfaces/gypsy-discovery.xml
new file mode 100644
index 0000000..a34f833
--- /dev/null
+++ b/interfaces/gypsy-discovery.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node name="/">
+ <interface name="org.freedesktop.Gypsy.Discovery">
+ <method name="ListDevices">
+ <arg type="as" name="devices" direction="out"/>
+ </method>
+ <method name="StartScanning"/>
+ <method name="StopScanning"/>
+ <signal name="DeviceAdded">
+ <arg type="s" name="added"/>
+ </signal>
+ <signal name="DeviceRemoved">
+ <arg type="s" name="removed"/>
+ </signal>
+ </interface>
+</node>