[Xcb] [PATCH proto 09/18] sync: Use explicit enum value

Daniel Martin consume.noise at gmail.com
Sun Aug 18 07:54:09 PDT 2013


Signed-off-by: Daniel Martin <consume.noise at gmail.com>
---
 src/sync.xml | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/sync.xml b/src/sync.xml
index 8a51947..7bcf0ae 100644
--- a/src/sync.xml
+++ b/src/sync.xml
@@ -11,9 +11,9 @@
   <xidtype name="ALARM" />
 
   <enum name="ALARMSTATE">
-    <item name="Active" />
-    <item name="Inactive" />
-    <item name="Destroyed" />
+    <item name="Active">    <value>0</value> </item>
+    <item name="Inactive">  <value>1</value> </item>
+    <item name="Destroyed"> <value>2</value> </item>
   </enum>
 
   <xidtype name="COUNTER" />
@@ -21,15 +21,15 @@ <enum name="ALARMSTATE">
   <xidtype name="FENCE" />
 
   <enum name="TESTTYPE">
-    <item name="PositiveTransition" />
-    <item name="NegativeTransition" />
-    <item name="PositiveComparison" />
-    <item name="NegativeComparison" />
+    <item name="PositiveTransition"> <value>0</value> </item>
+    <item name="NegativeTransition"> <value>1</value> </item>
+    <item name="PositiveComparison"> <value>2</value> </item>
+    <item name="NegativeComparison"> <value>3</value> </item>
   </enum>
 
   <enum name="VALUETYPE">
-    <item name="Absolute" />
-    <item name="Relative" />
+    <item name="Absolute"> <value>0</value> </item>
+    <item name="Relative"> <value>1</value> </item>
   </enum>
 
   <enum name="CA">
-- 
1.8.3.3



More information about the Xcb mailing list