[telepathy-spec/master] Specify Hangup more precisely

Sjoerd Simons sjoerd.simons at collabora.co.uk
Tue Nov 24 06:56:49 PST 2009


---
 spec/Channel_Type_Call.xml |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/spec/Channel_Type_Call.xml b/spec/Channel_Type_Call.xml
index 7cd8f3f..f0453b3 100644
--- a/spec/Channel_Type_Call.xml
+++ b/spec/Channel_Type_Call.xml
@@ -44,10 +44,20 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
     </method>
 
     <method name="Hangup" tp:name-for-bindings="Hangup">
+      <arg direction="in" name="Reason"
+        type="u" > <!-- tp:type="Call_State_Reason"> -->
+        A generic hangup reason.
+      </arg>
+      <arg direction="in" name="Detailed_Hangup_Reason"
+        type="s" tp:type="DBus_Error_Name">
+        A more specific reason for the call hangup, if one is available.
+        "" otherwise.
+      </arg>
+      <arg direction="in" name="Message" type="string">
+        Human readable message.
+      </arg>
       <tp:docstring>
-        End the call
-        FIXME: add the possibility to add a reason and give
-          to give more detailed errors.
+        Request the ending of the call.
       </tp:docstring>
     </method>
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list