mmifw: remove unnecessary user_data from mmi events 23/264123/1
authorSung-Jin Park <sj76.park@samsung.com>
Mon, 12 Jul 2021 17:23:50 +0000 (02:23 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Mon, 13 Sep 2021 12:14:37 +0000 (21:14 +0900)
Change-Id: I8f7a4bfadeabb209694564a20e2e271baf21473e
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
src/mmifw-event-types.h

index a758999..69b90b5 100644 (file)
@@ -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;