diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-01-07 14:45:04 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-01-07 14:45:04 +0000 |
commit | b10ff56c739114b5ef695cc99852e12a73bef014 (patch) | |
tree | 08d2cd72b969c166458215f053fbf34125510a6a /spec/Channel_Interface_Messages.xml | |
parent | 0f3d6b9e3bae40feb8cb55c8c63bf0720e90351f (diff) | |
download | telepathy-glib-b10ff56c739114b5ef695cc99852e12a73bef014.tar.gz |
Update to spec 0.17.17
Diffstat (limited to 'spec/Channel_Interface_Messages.xml')
-rw-r--r-- | spec/Channel_Interface_Messages.xml | 45 |
1 files changed, 40 insertions, 5 deletions
diff --git a/spec/Channel_Interface_Messages.xml b/spec/Channel_Interface_Messages.xml index 940953530..107850429 100644 --- a/spec/Channel_Interface_Messages.xml +++ b/spec/Channel_Interface_Messages.xml @@ -1,8 +1,8 @@ <?xml version="1.0" ?> <node name="/Channel_Interface_Messages" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"> - <tp:copyright>Copyright (C) 2008 Collabora Ltd.</tp:copyright> - <tp:copyright>Copyright (C) 2008 Nokia Corporation</tp:copyright> + <tp:copyright>Copyright (C) 2008-2009 Collabora Ltd.</tp:copyright> + <tp:copyright>Copyright (C) 2008-2009 Nokia Corporation</tp:copyright> <tp:license xmlns="http://www.w3.org/1999/xhtml"> <p>This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -178,7 +178,8 @@ USA.</p> </tp:flag> </tp:flags> - <tp:mapping name="Message_Part" array-name="Message_Part_List"> + <tp:mapping name="Message_Part" array-name="Message_Part_List" + array-depth="2"> <tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Part of a message's content. In practice, this mapping never appears in isolation - messages are represented by a list of @@ -705,6 +706,38 @@ USA.</p> </tp:member> </tp:mapping> + <tp:simple-type type="u" name="Message_Part_Index"> + <tp:added version="0.17.17"/> + <tp:docstring> + The index of a message part within a message. + </tp:docstring> + </tp:simple-type> + + <tp:mapping name="Message_Part_Content_Map"> + <tp:added version="0.17.17"/> + <tp:docstring> + A mapping from message part indexes to their content, as returned by + <tp:member-ref>GetPendingMessageContent</tp:member-ref>. + </tp:docstring> + + <tp:member type="u" tp:type="Message_Part_Index" name="Part"> + <tp:docstring> + Indexes into the array of <tp:type>Message_Part</tp:type>s that + represents a message. The "headers" part (which is not a valid + argument to GetPendingMessageContent) is considered to be part 0, + so the valid part numbers start at 1 (for the second message part). + </tp:docstring> + </tp:member> + + <tp:member type="v" name="Content"> + <tp:docstring> + The message part's content. The variant MUST contain either type + 's' or 'ay' (UTF-8 text string, or byte array), following the + same rules as for the value of the 'content' key in + the <tp:type>Message_Part</tp:type> mappings. + </tp:docstring> + </tp:member> + </tp:mapping> <tp:simple-type type="s" name="Sent_Message_Token"> <tp:docstring xmlns="http://www.w3.org/1999/xhtml"> @@ -914,7 +947,8 @@ USA.</p> </tp:docstring> </arg> - <arg name="Parts" type="au" direction="in"> + <arg name="Parts" type="au" direction="in" + tp:type="Message_Part_Index[]"> <tp:docstring> The desired entries in the array of message parts, identified by their position. The "headers" part (which is not a valid argument @@ -923,7 +957,8 @@ USA.</p> </tp:docstring> </arg> - <arg name="Content" type="a{uv}" direction="out"> + <arg name="Content" type="a{uv}" direction="out" + tp:type="Message_Part_Content_Map"> <tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>The content of the requested parts. The keys in this mapping are positions in the array of message parts; the values are |