summaryrefslogtreecommitdiff
path: root/spec/Connection_Interface_Client_Types.xml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/Connection_Interface_Client_Types.xml')
-rw-r--r--spec/Connection_Interface_Client_Types.xml25
1 files changed, 18 insertions, 7 deletions
diff --git a/spec/Connection_Interface_Client_Types.xml b/spec/Connection_Interface_Client_Types.xml
index fc5c7b8c7..97908561a 100644
--- a/spec/Connection_Interface_Client_Types.xml
+++ b/spec/Connection_Interface_Client_Types.xml
@@ -17,9 +17,8 @@ Lesser General Public License for more details.</p>
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</p>
</tp:license>
- <interface name="org.freedesktop.Telepathy.Connection.Interface.ClientTypes.DRAFT"
- tp:causes-havoc="experimental">
- <tp:added version="0.19.11">(as draft)</tp:added>
+ <interface name="org.freedesktop.Telepathy.Connection.Interface.ClientTypes">
+ <tp:added version="0.21.1">(as stable API)</tp:added>
<tp:requires interface="org.freedesktop.Telepathy.Connection"/>
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
@@ -47,9 +46,13 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
<li>pc</li>
<li>phone</li>
<li>web</li>
+<!-- Excluding these two because there's been no conclusion regarding my mail
+ to standards@xmpp.org about adding these two to their list:
+
<li>sms (the client is not actually an instant messaging client
but all messages sent to this contact will be delivered as SMSs)</li>
<li>game (a gaming device)</li>
+-->
</ul>
<p>If the empty list is given as the client types, this means that
@@ -88,7 +91,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
A contact.
</tp:docstring>
</tp:member>
- <tp:member type="as" name="Client_Types">
+ <tp:member type="as" name="Client_Types" tp:type="Contact_Client_Type[]">
<tp:docstring>
The contact's client types as documented earlier in this interface.
</tp:docstring>
@@ -155,7 +158,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
</tp:docstring>
</arg>
- <arg direction="out" name="Client_Types" type="as">
+ <arg direction="out" name="Client_Types" type="as"
+ tp:type="Contact_Client_Type[]">
<tp:docstring>
The contact's client types. It MAY be empty, indicating that no client
type information was found.
@@ -185,7 +189,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
The contact.
</tp:docstring>
</arg>
- <arg name="Client_Types" type="as">
+ <arg name="Client_Types" type="as" tp:type="Contact_Client_Type[]">
<tp:docstring>
The contact's client types, or an empty list to indicate that nothing
is known about the contact's client types.
@@ -193,7 +197,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
</arg>
</signal>
- <tp:contact-attribute name="client-types" type="as">
+ <tp:contact-attribute name="client-types" type="as"
+ tp:type="Contact_Client_Type[]">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>The same mapping that would be returned by
<tp:member-ref>GetClientTypes</tp:member-ref> for this contact.
@@ -202,6 +207,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
</tp:docstring>
</tp:contact-attribute>
+ <tp:simple-type name="Contact_Client_Type" type="s"
+ array-name="Contact_Client_Type_List">
+ <tp:docstring>A string representing a single client type of a
+ contact.</tp:docstring>
+ </tp:simple-type>
+
</interface>
</node>
<!-- vim:set sw=2 sts=2 et ft=xml: -->