+typedef enum {
+ OB_MOUSE_ACTION_PRESS,
+ OB_MOUSE_ACTION_RELEASE,
+ OB_MOUSE_ACTION_CLICK,
+ OB_MOUSE_ACTION_DOUBLE_CLICK,
+ OB_MOUSE_ACTION_MOTION,
+ OB_NUM_MOUSE_ACTIONS
+} ObMouseAction;
+
+typedef enum {
+ OB_USER_ACTION_NONE, /* being fired from inside another action and such */
+ OB_USER_ACTION_KEYBOARD_KEY,
+ OB_USER_ACTION_MOUSE_PRESS,
+ OB_USER_ACTION_MOUSE_RELEASE,
+ OB_USER_ACTION_MOUSE_CLICK,
+ OB_USER_ACTION_MOUSE_DOUBLE_CLICK,
+ OB_USER_ACTION_MOUSE_MOTION,
+ OB_USER_ACTION_MENU_SELECTION,
+ OB_NUM_USER_ACTIONS
+} ObUserAction;
+