[Telepathy-commits] [telepathy-spec/master] Add a Failed State, and define legal transitions
Will Thompson
will.thompson at collabora.co.uk
Thu Feb 12 09:20:08 PST 2009
---
spec/Channel_Type_Contact_Search.xml | 16 +++++++++++++---
1 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/spec/Channel_Type_Contact_Search.xml b/spec/Channel_Type_Contact_Search.xml
index 502bc0e..bf401e1 100644
--- a/spec/Channel_Type_Contact_Search.xml
+++ b/spec/Channel_Type_Contact_Search.xml
@@ -57,6 +57,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
<tp:enumvalue suffix="Completed" value="2">
<tp:docstring>The search has been completed</tp:docstring>
</tp:enumvalue>
+ <tp:enumvalue suffix="Failed" value="3">
+ <tp:docstring>The search has failed</tp:docstring>
+ </tp:enumvalue>
</tp:enum>
<property name="SearchState" tp:name-for-bindings="Search_State"
@@ -72,9 +75,16 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
<arg name="State" type="u" tp:type="Channel_Contact_Search_State">
<tp:docstring>The new search state</tp:docstring>
</arg>
- <tp:docstring>
- Emitted when the <tp:member-ref>SearchState</tp:member-ref> property
- changes.
+ <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+ <p>Emitted when the <tp:member-ref>SearchState</tp:member-ref> property
+ changes. The implementation MUST NOT make transitions other than the
+ following:</p>
+
+ <ul>
+ <li><code>Not_Started</code> â <code>In_Progress</code></li>
+ <li><code>In_Progress</code> â <code>Completed</code></li>
+ <li><code>In_Progress</code> â <code>Failed</code></li>
+ </ul>
</tp:docstring>
</signal>
--
1.5.6.5
More information about the telepathy-commits
mailing list