diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-01-20 11:42:15 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-01-20 11:42:15 +0000 |
commit | 95a87f182343dea698d281cc6e8b07e734e1f9cb (patch) | |
tree | 581c8ef5956d1d5fd86241fa6a2c7ea4d4e40419 /spec/Connection_Interface_Presence.xml | |
parent | a101efff3a1c46981fd3bb2340d9bff6ec464460 (diff) | |
download | telepathy-glib-95a87f182343dea698d281cc6e8b07e734e1f9cb.tar.gz |
Update telepathy-spec to 0.17.18
Diffstat (limited to 'spec/Connection_Interface_Presence.xml')
-rw-r--r-- | spec/Connection_Interface_Presence.xml | 66 |
1 files changed, 64 insertions, 2 deletions
diff --git a/spec/Connection_Interface_Presence.xml b/spec/Connection_Interface_Presence.xml index cfcb856ca..6d9b24a18 100644 --- a/spec/Connection_Interface_Presence.xml +++ b/spec/Connection_Interface_Presence.xml @@ -131,7 +131,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ </tp:possible-errors> </method> <method name="GetStatuses" tp:name-for-bindings="Get_Statuses"> - <arg direction="out" type="a{s(ubba{ss})}" tp:type="Status_Spec_Map"> + <arg direction="out" type="a{s(ubba{ss})}" tp:type="Status_Spec_Map" + name="Available_Statuses"> <tp:docstring> A dictionary of string identifiers mapped to a struct for each status, containing: <ul> @@ -160,7 +161,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ A dictionary of contact handles mapped to a struct containing a UNIX timestamp of the last activity time (in UTC), and a dictionary mapping the contact's current status identifiers to - a dictionary of optional parameter names mapped to their + a dictionary of optional parameter names mapped to their variant-boxed values </tp:docstring> </arg> @@ -396,6 +397,67 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ </tp:docstring> </tp:enumvalue> </tp:enum> + + <tp:enum name="Rich_Presence_Access_Control_Type" type="u"> + <tp:docstring> + A type of access control for Rich_Presence_Access_Control. + For most types, the exact access control is given by an associated + variant. + + <tp:rationale> + These are the access control types from XMPP publish/subscribe + (XEP-0060). + </tp:rationale> + </tp:docstring> + + <tp:enumvalue suffix="Whitelist" value="0"> + <tp:docstring> + The associated variant is a list of contacts (signature 'au', + Contact_Handle[]) who can see the extended presence information. + </tp:docstring> + </tp:enumvalue> + <tp:enumvalue suffix="Publish_List" value="1"> + <tp:docstring> + All contacts in the user's 'publish' contact list can see the + extended presence information. The associated variant is ignored. + </tp:docstring> + </tp:enumvalue> + <tp:enumvalue suffix="Group" value="2"> + <tp:docstring> + The associated variant is a handle of type Group (signature 'u', + Group_Handle) representing a group of contacts who can see the + extended presence information. + </tp:docstring> + </tp:enumvalue> + <tp:enumvalue suffix="Open" value="3"> + <tp:docstring> + Anyone with access to the service can see the extended presence + information. + </tp:docstring> + </tp:enumvalue> + </tp:enum> + + <tp:struct name="Rich_Presence_Access_Control"> + <tp:docstring> + An access control mode for extended presence items like geolocation. + This type isn't actually used by the core Presence interface, but + it's included here so it can be referenced by other specifications. + </tp:docstring> + + <tp:member name="Type" type="u" tp:type="Rich_Presence_Access_Control_Type"> + <tp:docstring> + The type of access control to apply. + </tp:docstring> + </tp:member> + <tp:member name="Detail" type="v"> + <tp:docstring> + Any additional information required by the Type. The required + type and semantics are defined for each + Rich_Presence_Access_Control_Type. + </tp:docstring> + </tp:member> + </tp:struct> + </interface> </node> <!-- vim:set sw=2 sts=2 et ft=xml: --> |