diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2008-05-20 17:26:06 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2008-05-20 17:26:06 +0000 |
commit | 1c7bb8e0b7e2e8d6f5839847062ca758373e83f9 (patch) | |
tree | 169869ea04d8c0d5fc82664c60e1d0d2cc239a09 | |
parent | 64c2a6f7b916347e0217b6f9057b06598242673a (diff) |
Location: use Rich_Presence_Access_Control
-rw-r--r-- | spec/Connection_Interface_Location.xml | 53 |
1 files changed, 2 insertions, 51 deletions
diff --git a/spec/Connection_Interface_Location.xml b/spec/Connection_Interface_Location.xml index fef072e0..b8c809c4 100644 --- a/spec/Connection_Interface_Location.xml +++ b/spec/Connection_Interface_Location.xml @@ -235,63 +235,14 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ </arg> </method> - <!-- FIXME: we may want to give this a more generic name, since it's - basically the list of pubsub access control mechanisms, and could be - re-used for other PEPish things --> - <tp:enum name="Location_Access_Control_Type" type="u"> - <tp:docstring> - - </tp:docstring> - - <tp:enumvalue name="Whitelist"> - <tp:docstring> - The associated variant is a list of contacts (signature 'au', - Contact_Handle[]) who can see the user's location. - </tp:docstring> - </tp:enumvalue> - <tp:enumvalue name="Publish_List"> - <tp:docstring> - All contacts in the user's 'publish' contact list can see the - user's location. The associated variant is ignored. - </tp:docstring> - </tp:enumvalue> - <tp:enumvalue name="Group"> - <tp:docstring> - The associated variant is a handle of type Group (signature 'u', - Group_Handle) representing a group of contacts who can see the - user's location. - </tp:docstring> - </tp:enumvalue> - <tp:enumvalue name="Open"> - <tp:docstring> - Anyone with access to the service can see the user's location. - </tp:docstring> - </tp:enumvalue> - </tp:enum> - - <tp:struct name="Location_Access_Control"> - <tp:member name="Type" type="Location_Access_Control_Type"> - <tp:docstring> - The type of access control to apply to the user's location. - </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 - Location_Access_Control_Type. - </tp:docstring> - </tp:member> - </tp:struct> - <property name="LocationAccessControlTypes" type="au" access="read" - tp:type="Location_Access_Control_Type[]"> + tp:type="Rich_Presence_Access_Control_Type[]"> <tp:docstring>The types of access control that are supported by this connection.</tp:docstring> </property> <property name="LocationAccessControl" type="(uv)" access="readwrite" - tp:type="Location_Access_Control"> + tp:type="Rich_Presence_Access_Control"> <tp:docstring>The current access control mechanism and settings for this connection. Before publishing location for the first time, if this has not been set by a client, implementations SHOULD |