[gnome-bluetooth] lib: Update introspection XML



commit 66b00f04829b6fe8b0c7e0f6c9ae5444cf28d800
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Oct 5 18:32:29 2011 +0100

    lib: Update introspection XML
    
    With signals that we require to work-around a GDBus bug[1],
    as well as updating the list of methods we use.
    
    [1]: https://bugzilla.gnome.org/show_bug.cgi?id=660886

 lib/bluetooth-client.xml |   66 ++++++++++++++++++++++++++++++++--------------
 1 files changed, 46 insertions(+), 20 deletions(-)
---
diff --git a/lib/bluetooth-client.xml b/lib/bluetooth-client.xml
index c3026bf..899de6d 100644
--- a/lib/bluetooth-client.xml
+++ b/lib/bluetooth-client.xml
@@ -1,52 +1,78 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 
 <node name="/">
-  <interface name="manager">
+  <interface name="org.bluez.Manager">
     <method name="DefaultAdapter">
       <arg type="o" direction="out"/>
     </method>
 
-    <method name="FindAdapter">
-      <arg type="s" name="pattern" direction="in"/>
-      <arg type="o" direction="out"/>
-    </method>
-
     <method name="ListAdapters">
       <arg type="ao" direction="out"/>
     </method>
+
+    <signal name="AdapterAdded">
+      <arg type="o"/>
+    </signal>
+    <signal name="AdapterRemoved">
+      <arg type="o"/>
+    </signal>
+    <signal name="DefaultAdapterChanged">
+      <arg type="o"/>
+    </signal>
   </interface>
 
-  <interface name="adapter">
+  <interface name="org.bluez.Adapter">
     <method name="GetProperties">
       <arg type="a{sv}" direction="out"/>
     </method>
 
-    <method name="StartDiscovery">
+    <method name="SetProperty">
+      <arg type="s" direction="in"/>
+      <arg type="v" direction="in"/>
     </method>
 
-    <method name="StopDiscovery">
-    </method>
-
-    <method name="CreateDevice">
-      <arg type="s" name="address" direction="in"/>
-      <arg type="o" direction="out"/>
+    <method name="StartDiscovery">
     </method>
 
-    <method name="CreatePairedDevice">
-      <arg type="s" name="address" direction="in"/>
-      <arg type="o" name="agent" direction="in"/>
-      <arg type="s" name="capability" direction="in"/>
-      <arg type="o" direction="out"/>
+    <method name="StopDiscovery">
     </method>
 
     <method name="RemoveDevice">
       <arg type="o" name="device" direction="in"/>
     </method>
+
+    <signal name="PropertyChanged">
+      <arg type="s"/>
+      <arg type="v"/>
+    </signal>
+    <signal name="DeviceCreated">
+      <arg type="o"/>
+    </signal>
+    <signal name="DeviceRemoved">
+      <arg type="o"/>
+    </signal>
+    <signal name="DeviceFound">
+      <arg type="s"/>
+      <arg type="a{sv}"/>
+    </signal>
   </interface>
 
-  <interface name="device">
+  <interface name="org.bluez.Device">
     <method name="GetProperties">
       <arg type="a{sv}" direction="out"/>
     </method>
+
+    <method name="SetProperty">
+      <arg type="s" direction="in"/>
+      <arg type="v" direction="in"/>
+    </method>
+
+    <method name="Connect"/>
+    <method name="Disconnect"/>
+
+    <signal name="PropertyChanged">
+      <arg type="s"/>
+      <arg type="v"/>
+    </signal>
   </interface>
 </node>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]