From efaeabbb1986fd1826aa82e0863a6e6e26e66deb Mon Sep 17 00:00:00 2001 From: Sung-Jin Park Date: Tue, 13 Jul 2021 02:23:50 +0900 Subject: [PATCH] mmifw: remove unnecessary user_data from mmi events Change-Id: I8f7a4bfadeabb209694564a20e2e271baf21473e Signed-off-by: Sung-Jin Park --- src/mmifw-event-types.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/mmifw-event-types.h b/src/mmifw-event-types.h index a758999..69b90b5 100644 --- a/src/mmifw-event-types.h +++ b/src/mmifw-event-types.h @@ -30,23 +30,19 @@ typedef struct { int type;//focus in/out int timestamp; - void *user_data; bool focus_in; } mmifw_event_focus; typedef struct { int type;//state change int timestamp; - void *user_data; int state; int old_state; - void *data;//auxiliary data } mmifw_event_state_change; typedef struct { int type; int timestamp; - void *user_data; char *source;//event source information like voice, gesture, key, vision, and so on } mmifw_event_wakeup; @@ -54,7 +50,6 @@ typedef struct { int type;//up, down, left, right, select, back, ... int timestamp; - void *user_data; int keycode; bool key_down; char *keyname; @@ -64,21 +59,18 @@ typedef struct typedef struct { int type;//swipe up, down, left, right, yes, ... int timestamp; - void *user_data; char *source;//event source information } mmifw_event_gesture; typedef struct { int type;//voice up, down, left, right, select, back, ... int timestamp; - void *user_data; char *source;//event source information } mmifw_event_voice; typedef struct { int type;//action play/pause/resume/stop/execute/launch/revoke/volume ... int timestamp; - void *user_data; char *cmd; char **args; int nargs; @@ -89,7 +81,6 @@ typedef struct { int type;//feedback positive, feedback negative, feedback comment int timestamp; - void *user_data; char *feedback; char *comment; } mmifw_event_feedback; -- 2.7.4