Release 0.5-1 contains (Muti-profile support, Contacts Integration)
[vicar] / src / data / xml / org.freedesktop.Telepathy.Connection.xml
diff --git a/src/data/xml/org.freedesktop.Telepathy.Connection.xml b/src/data/xml/org.freedesktop.Telepathy.Connection.xml
new file mode 100644 (file)
index 0000000..1cd18fc
--- /dev/null
@@ -0,0 +1,112 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node>
+  <interface name="org.freedesktop.Telepathy.Connection" >
+    <property name="Interfaces" type="as" access="read" />
+    <method name="Connect" />
+    <method name="Disconnect" />
+    <method name="GetInterfaces" >
+      <arg direction="out" type="as" />
+    </method>
+    <method name="GetProtocol" >
+      <arg direction="out" type="s" />
+    </method>
+    <method name="GetSelfHandle" >
+      <arg direction="out" type="u" />
+    </method>
+    <method name="GetStatus" >
+      <arg direction="out" type="u" />
+    </method>
+    <method name="HoldHandles" >
+      <annotation value="QList&lt;uint>" name="com.trolltech.QtDBus.QtTypeName.In1" />
+      <arg direction="in" type="u" name="handle_type" />
+      <arg direction="in" type="au" name="handles" />
+    </method>
+    <method name="InspectHandles" >
+      <annotation value="QList&lt;uint>" name="com.trolltech.QtDBus.QtTypeName.In1" />
+      <arg direction="in" type="u" name="handle_type" />
+      <arg direction="in" type="au" name="handles" />
+      <arg direction="out" type="as" />
+    </method>
+    <method name="ListChannels" >
+      <annotation value="org::freedesktop::Telepathy::ChannelInfoList" name="com.trolltech.QtDBus.QtTypeName.Out0" />
+      <arg direction="out" type="a(osuu)" />
+    </method>
+    <method name="ReleaseHandles" >
+      <annotation value="QList&lt;uint>" name="com.trollteh.QtDBus.QtTypeName.In1" />
+      <arg direction="in" type="u" name="handle_type" />
+      <arg direction="in" type="au" name="handles" />
+    </method>
+    <method name="RequestChannel" >
+      <arg direction="in" type="s" name="type" />
+      <arg direction="in" type="u" name="handle_type" />
+      <arg direction="in" type="u" name="handle" />
+      <arg direction="in" type="b" name="suppress_handler" />
+      <arg direction="out" type="o" />
+    </method>
+    <method name="RequestHandles" >
+      <annotation value="QList&lt;uint>" name="com.trolltech.QtDBus.QtTypeName.Out0" />
+      <arg direction="in" type="u" name="handle_type" />
+      <arg direction="in" type="as" name="names" />
+      <arg direction="out" type="au" />
+    </method>
+    <signal name="NewChannel" >
+      <arg type="o" name="object_path" />
+      <arg type="s" name="channel_type" />
+      <arg type="u" name="handle_type" />
+      <arg type="u" name="handle" />
+      <arg type="b" name="suppress_handler" />
+    </signal>
+    <signal name="StatusChanged" >
+      <arg type="u" name="status" />
+      <arg type="u" name="reason" />
+    </signal>
+  </interface>
+  <interface name="org.freedesktop.Telepathy.Connection.Interface.Requests">
+    <property access="read" type="(a{sv}as)" name="RequestableChannelClasses">
+      <annotation name="com.trolltech.QtDBus.QtTypeName" value="org::freedesktop::Telepathy::RequestableChannelClassList"/>    
+    </property>
+    <method name="CreateChannel">
+      <annotation value="QVariantMap" name="com.trolltech.QtDBus.QtTypeName.In0"/>
+      <annotation value="QVariantMap" name="com.trolltech.QtDBus.QtTypeName.Out1"/>
+      <arg direction="in" type="a{sv}" name="request"/>
+      <arg direction="out" type="o" name="channel_object"/>
+      <arg direction="out" type="a{sv}" name="channel_properties"/>
+    </method>
+    <method name="EnsureChannel">
+      <annotation value="QVariantMap" name="com.trolltech.QtDBus.QtTypeName.In0"/>
+      <annotation value="QVariantMap" name="com.trolltech.QtDBus.QtTypeName.Out2"/>
+      <arg direction="in" type="a{sv}" name="request"/>
+      <arg direction="out" type="b" name="yours"/>
+      <arg direction="out" type="o" name="channel_object"/>
+      <arg direction="out" type="a{sv}" name="channel_properties"/>
+    </method>
+    <signal name="NewChannels">
+      <annotation value="org::freedesktop::Telepathy::ChannelDetailsList" name="com.trolltech.QtDBus.QtTypeName.In0"/>
+      <arg type="a(oa{sv})" name="new_channels"/>
+    </signal>
+    <signal name="ChannelClosed">
+      <arg type="o" name="removed_channel_object"/>
+    </signal>
+  </interface>
+ <interface name="org.freedesktop.Telepathy.Connection.Interface.Capabilities">
+    <method name="GetCapabilities">
+      <annotation value="QList&lt;uint&gt;" name="com.trolltech.QtDBus.QtTypeName.In0" />
+      <annotation value="org::freedesktop::Telepathy::ContactCapabilitiesList" name="com.trolltech.QtDBus.QtTypeName.Out0" />
+      <arg name="Handles" type="au" direction="in"/>
+      <arg name="Contact_Capabilities" type="a(usuu)" direction="out"/>
+    </method>
+
+    <method name="AdvertiseCapabilities">
+      <annotation value="org::freedesktop::Telepathy::CapabilityPairList" name="com.trolltech.QtDBus.QtTypeName.In0" />
+      <annotation value="org::freedesktop::Telepathy::CapabilityPairList" name="com.trolltech.QtDBus.QtTypeName.Out0" />
+      <arg name="Add" type="a(su)" direction="in"/>
+      <arg name="Remove" type="as" direction="in"/>
+      <arg name="Self_Capabilities" type="a(su)" direction="out"/>
+    </method>
+
+    <signal name="CapabilitiesChanged">
+      <annotation value="org::freedesktop::Telepathy::CapabilityChangeList" name="com.trolltech.QtDBus.QtTypeName.In0" />
+      <arg type="a(usuuuu)"/>
+    </signal>
+  </interface>
+</node>