summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-10-16 13:09:55 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2007-10-16 13:09:55 +0000
commitb12fcfa78d30193f58975a01e9dff622847fd4c7 (patch)
tree964ab2b61c86f71fc2a9b099e51dc179f41f99bc
parent5c065d6e79e41407fcc3951bd532428d3970ca56 (diff)
Add and use Pending_Text_Message struct type
-rw-r--r--spec/Channel_Type_Text.xml18
1 files changed, 17 insertions, 1 deletions
diff --git a/spec/Channel_Type_Text.xml b/spec/Channel_Type_Text.xml
index 47727ec7..5b815964 100644
--- a/spec/Channel_Type_Text.xml
+++ b/spec/Channel_Type_Text.xml
@@ -20,6 +20,22 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
</tp:license>
<interface name="org.freedesktop.Telepathy.Channel.Type.Text">
<tp:requires interface="org.freedesktop.Telepathy.Channel"/>
+
+ <tp:struct name="Pending_Text_Message" array-name="Pending_Text_Message_List">
+ <tp:docstring>A struct (message ID, timestamp in seconds since
+ 1970-01-01 00:00 UTC, sender's handle, message type, flags, text)
+ representing a pending text message, as returned by ListPendingMessages
+ on the Text channel type. The arguments of the Received signal
+ also match this struct's signature.</tp:docstring>
+ <tp:member type="u" name="Message_ID"/>
+ <tp:member type="u" name="Unix_Timestamp"/>
+ <tp:member type="u" tp:type="Contact_Handle" name="Sender"/>
+ <tp:member type="u" tp:type="Channel_Text_Message_Type"
+ name="Message_Type"/>
+ <tp:member type="u" tp:type="Channel_Text_Message_Flags" name="Flags"/>
+ <tp:member type="s" name="Text"/>
+ </tp:struct>
+
<method name="AcknowledgePendingMessages">
<arg direction="in" name="ids" type="au">
<tp:docstring>
@@ -53,7 +69,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
If true, remove all messages from the queue
</tp:docstring>
</arg>
- <arg direction="out" type="a(uuuuus)">
+ <arg direction="out" type="a(uuuuus)" tp:type="Pending_Text_Message[]">
<tp:docstring>
An array of structs representing the pending queue. Each contains:
<ul>