[Telepathy-commits] [telepathy-spec/master] Caps: remove Enhanced_Contact_Capability because there is Requestable_Channel_Class

Alban Crequy alban.crequy at collabora.co.uk
Fri Dec 12 09:10:48 PST 2008


---
 spec/Connection_Interface_Contact_Capabilities.xml |   31 ++------------------
 1 files changed, 3 insertions(+), 28 deletions(-)

diff --git a/spec/Connection_Interface_Contact_Capabilities.xml b/spec/Connection_Interface_Contact_Capabilities.xml
index f750d0f..ba580fd 100644
--- a/spec/Connection_Interface_Contact_Capabilities.xml
+++ b/spec/Connection_Interface_Contact_Capabilities.xml
@@ -129,7 +129,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
         </tp:docstring>
       </arg>
       <arg name="caps" type="a(a{sv}as)"
-           tp:type="Enhanced_Contact_Capability[]">
+           tp:type="Requestable_Channel_Class[]">
         <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
           All the capabilities of the contact
         </tp:docstring>
@@ -140,33 +140,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
       </tp:docstring>
     </signal>
 
-    <tp:struct name="Enhanced_Contact_Capability"
-               array-name="Enhanced_Contact_Capability_List">
-      <tp:docstring>
-        A struct representing a capability posessed by a contact,
-        as returned by <tp:member-ref>GetContactCapabilities</tp:member-ref>
-        on the ContactCapabilities interface. The channel creation will
-        succeed if the request contains all the Fixed_Properties will the
-        values specified in this struct. The request can contain additional
-        properties from Allowed_Properties. If the request contains a
-        property which does not belong to Fixed_Properties nor to
-        Allowed_Properties, the request will fail.
-      </tp:docstring>
-      <tp:member type="a{sv}" tp:type="Channel_Class"
-                 name="Fixed_Properties">
-        <tp:docstring>
-          A dictionary mapping the channel properties to their values.
-        </tp:docstring>
-      </tp:member>
-      <tp:member type="as" name="Allowed_Properties">
-        <tp:docstring>
-          An array of additional allowed properties.
-        </tp:docstring>
-      </tp:member>
-    </tp:struct>
-
   <tp:mapping name="Contact_Capabilities_Map"
-              array-name="Contact_Handle_Enhanced_Contact_Capability_Map_List">
+              array-name="Contact_Capabilities_Map_List">
     <tp:docstring>A mapping from contact handle to their capabilities.
     </tp:docstring>
     <tp:member type="u" name="Key" tp:type="Contact_Handle">
@@ -175,7 +150,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
       </tp:docstring>
     </tp:member>
     <tp:member type="a(a{sv}as)" name="Value"
-               tp:type="Enhanced_Contact_Capability[]">
+               tp:type="Requestable_Channel_Class[]">
       <tp:docstring>
         The contact capabilities.
       </tp:docstring>
-- 
1.5.6.5




More information about the Telepathy-commits mailing list