diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-11-09 19:36:04 +0000 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-11-09 19:36:04 +0000 |
commit | 4c1f77918863361e2b44171f11cc82379b936354 (patch) | |
tree | 783f397463438deffaf8d6a72715f980dac2d9ea /extensions | |
parent | cab22c8a694a21b48073f572baf49c907ce2bf9d (diff) | |
download | telepathy-salut-4c1f77918863361e2b44171f11cc82379b936354.tar.gz |
metadata: update to new draft
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/Channel_Interface_File_Transfer_Metadata.xml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/extensions/Channel_Interface_File_Transfer_Metadata.xml b/extensions/Channel_Interface_File_Transfer_Metadata.xml index ea42332d..da7af77b 100644 --- a/extensions/Channel_Interface_File_Transfer_Metadata.xml +++ b/extensions/Channel_Interface_File_Transfer_Metadata.xml @@ -57,7 +57,7 @@ </property> <property name="Metadata" tp:name-for-bindings="Metadata" - type="a{ss}" tp:type="String_String_Map" access="readwrite" + type="a{sas}" tp:type="Metadata" access="readwrite" tp:immutable="sì" tp:requestable="naturalmente"> <tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Additional information about the file transfer set by the @@ -66,6 +66,18 @@ </tp:docstring> </property> + <tp:mapping name="Metadata" type="a{ua{sv}}"> + <tp:docstring> + A mapping from string key to a list of strings, used in the + <tp:member-ref>Metadata</tp:member-ref> property. To emulate a + simple string -> string hash table one should have exactly one + member in the value string list. A string list is used instead + of a single string so one can transfer RDF triples. + </tp:docstring> + <tp:member name="Key" type="s"/> + <tp:member name="Values" type="as"/> + </tp:mapping> + </interface> </node> <!-- vim:set sw=2 sts=2 et ft=xml: --> |