[telepathy-gabble/master] sync location interface with undrafted version in spec
Dafydd Harries
dafydd.harries at collabora.co.uk
Sun Aug 16 10:23:44 PDT 2009
---
extensions/Connection_Interface_Location.xml | 16 +++++++++++++---
tests/twisted/constants.py | 2 +-
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/extensions/Connection_Interface_Location.xml b/extensions/Connection_Interface_Location.xml
index ea9f6ad..fdc622e 100644
--- a/extensions/Connection_Interface_Location.xml
+++ b/extensions/Connection_Interface_Location.xml
@@ -18,9 +18,8 @@ Lesser General Public License for more details.</p>
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</p>
</tp:license>
- <interface name="org.freedesktop.Telepathy.Connection.Interface.Location.DRAFT"
- tp:causes-havoc='experimental'>
- <tp:added version="0.17.18">(as a draft)</tp:added>
+ <interface name="org.freedesktop.Telepathy.Connection.Interface.Location">
+ <tp:added version="0.17.27">(as stable API)</tp:added>
<tp:requires interface="org.freedesktop.Telepathy.Connection"/>
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
@@ -385,6 +384,17 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
set it to be as restrictive as possible (an empty whitelist, if
supported).</tp:docstring>
</property>
+
+ <tp:contact-attribute name="location"
+ type="a{sv}" tp:type="Location">
+ <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+ <p>The same mapping that would be returned by
+ <tp:member-ref>GetLocations</tp:member-ref> for this contact.
+ Omitted from the result if the contact's location
+ is not known.</p>
+ </tp:docstring>
+ </tp:contact-attribute>
+
</interface>
</node>
<!-- vim:set sw=2 sts=2 et ft=xml: -->
diff --git a/tests/twisted/constants.py b/tests/twisted/constants.py
index df8e253..16f79ed 100644
--- a/tests/twisted/constants.py
+++ b/tests/twisted/constants.py
@@ -54,7 +54,7 @@ CONN_IFACE_CONTACTS = CONN + '.Interface.Contacts'
CONN_IFACE_CONTACT_CAPS = CONN + '.Interface.ContactCapabilities.DRAFT'
CONN_IFACE_SIMPLE_PRESENCE = CONN + '.Interface.SimplePresence'
CONN_IFACE_REQUESTS = CONN + '.Interface.Requests'
-CONN_IFACE_LOCATION = CONN + '.Interface.Location.DRAFT'
+CONN_IFACE_LOCATION = CONN + '.Interface.Location'
STREAM_HANDLER = 'org.freedesktop.Telepathy.Media.StreamHandler'
--
1.5.6.5
More information about the telepathy-commits
mailing list