Update LB_ACCESS event values.
authorSung-jae Park <nicesj.park@samsung.com>
Fri, 12 Apr 2013 04:15:35 +0000 (13:15 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Fri, 12 Apr 2013 04:15:35 +0000 (13:15 +0900)
Change-Id: If299e6008cdcb6406088b10f66949474cfbc762d

include/livebox-service.h
packaging/liblivebox-service.spec

index 2b8ffd9..1cdf154 100644 (file)
@@ -39,26 +39,26 @@ enum livebox_size_type {
 };
 
 enum livebox_script_event {
-       LB_SCRIPT_ACCESS_EVENT          = 0x00001000,
-       LB_SCRIPT_MOUSE_EVENT           = 0x00002000,
-       LB_SCRIPT_KEY_EVENT             = 0x00004000,
-
-       LB_SCRIPT_ACCESS_HIGHLIGHT      = LB_SCRIPT_ACCESS_EVENT | 0x00000000,
-       LB_SCRIPT_ACCESS_HIGHLIGHT_NEXT = LB_SCRIPT_ACCESS_EVENT | 0x00000001,
-       LB_SCRIPT_ACCESS_HIGHLIGHT_PREV = LB_SCRIPT_ACCESS_EVENT | 0x00000002,
-       LB_SCRIPT_ACCESS_ACTIVATE       = LB_SCRIPT_ACCESS_EVENT | 0x00000004,
-       LB_SCRIPT_ACCESS_VALUE_CHANGE   = LB_SCRIPT_ACCESS_EVENT | 0x00000008,
-       LB_SCRIPT_ACCESS_SCROLL         = LB_SCRIPT_ACCESS_EVENT | 0x00000010,
-       LB_SCRIPT_ACCESS_UNHIGHLIGHT    = LB_SCRIPT_ACCESS_EVENT | 0x00000020,
-
-       LB_SCRIPT_MOUSE_DOWN    = LB_SCRIPT_MOUSE_EVENT | 0x00000000,
-       LB_SCRIPT_MOUSE_MOVE    = LB_SCRIPT_MOUSE_EVENT | 0x00000001,
-       LB_SCRIPT_MOUSE_UP      = LB_SCRIPT_MOUSE_EVENT | 0x00000002,
-       LB_SCRIPT_MOUSE_IN      = LB_SCRIPT_MOUSE_EVENT | 0x00000004,
-       LB_SCRIPT_MOUSE_OUT     = LB_SCRIPT_MOUSE_EVENT | 0x00000008,
-
-       LB_SCRIPT_KEY_DOWN      = LB_SCRIPT_KEY_EVENT | 0x00000000,
-       LB_SCRIPT_KEY_UP        = LB_SCRIPT_KEY_EVENT | 0x00000000,
+       LB_SCRIPT_ACCESS_EVENT          = 0x01000000,
+       LB_SCRIPT_MOUSE_EVENT           = 0x02000000,
+       LB_SCRIPT_KEY_EVENT             = 0x04000000,
+
+       LB_SCRIPT_ACCESS_HIGHLIGHT      = LB_SCRIPT_ACCESS_EVENT | 0x00000001,
+       LB_SCRIPT_ACCESS_HIGHLIGHT_NEXT = LB_SCRIPT_ACCESS_EVENT | 0x00000002,
+       LB_SCRIPT_ACCESS_HIGHLIGHT_PREV = LB_SCRIPT_ACCESS_EVENT | 0x00000004,
+       LB_SCRIPT_ACCESS_ACTIVATE       = LB_SCRIPT_ACCESS_EVENT | 0x00000008,
+       LB_SCRIPT_ACCESS_VALUE_CHANGE   = LB_SCRIPT_ACCESS_EVENT | 0x00000010,
+       LB_SCRIPT_ACCESS_SCROLL         = LB_SCRIPT_ACCESS_EVENT | 0x00000020,
+       LB_SCRIPT_ACCESS_UNHIGHLIGHT    = LB_SCRIPT_ACCESS_EVENT | 0x00000040,
+
+       LB_SCRIPT_MOUSE_DOWN    = LB_SCRIPT_MOUSE_EVENT | 0x00001000,
+       LB_SCRIPT_MOUSE_MOVE    = LB_SCRIPT_MOUSE_EVENT | 0x00002000,
+       LB_SCRIPT_MOUSE_UP      = LB_SCRIPT_MOUSE_EVENT | 0x00004000,
+       LB_SCRIPT_MOUSE_IN      = LB_SCRIPT_MOUSE_EVENT | 0x00008000,
+       LB_SCRIPT_MOUSE_OUT     = LB_SCRIPT_MOUSE_EVENT | 0x00010000,
+
+       LB_SCRIPT_KEY_DOWN      = LB_SCRIPT_KEY_EVENT | 0x00020000,
+       LB_SCRIPT_KEY_UP        = LB_SCRIPT_KEY_EVENT | 0x00040000,
 };
 
 enum livebox_access_status {
index 68607db..ca67489 100644 (file)
@@ -1,6 +1,6 @@
 Name: liblivebox-service
 Summary: Service API for gathering installed livebox information.
-Version: 0.4.0
+Version: 0.4.1
 Release: 1
 Group: HomeTF/Livebox
 License: Flora License