From: Sung-Jin Park Date: Mon, 12 Jul 2021 17:23:50 +0000 (+0900) Subject: mmifw: remove unnecessary user_data from mmi events X-Git-Tag: submit/tizen/20210914.042010~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=efaeabbb1986fd1826aa82e0863a6e6e26e66deb;p=platform%2Fcore%2Fuifw%2Fmmi-framework.git mmifw: remove unnecessary user_data from mmi events Change-Id: I8f7a4bfadeabb209694564a20e2e271baf21473e Signed-off-by: Sung-Jin Park --- 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;