remove input_event_state and mmi_state_e 09/281609/1
authordyamy-lee <dyamy.lee@samsung.com>
Thu, 8 Sep 2022 01:14:08 +0000 (10:14 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Tue, 20 Sep 2022 04:57:30 +0000 (13:57 +0900)
These states will not be used. So, removed these and codes of using these.

Change-Id: I8f9e4bf4daaaae134609990de07295a45f48f679

src/mmi-client.c
src/mmi-ipc.c
src/mmi-ipc.h
src/mmi.h
tidl/mmi.tidl

index b363e32..a1626be 100644 (file)
@@ -41,7 +41,6 @@ int mmi_client_create(void)
 
        mmi_h->rpc_h = mmi_ipc_get_rpc_h();
        mmi_h->stub_appid = mmi_ipc_get_stub_appid();
-       mmi_h->state = mmi_ipc_get_state();
        mmi_h->result_cb_list = NULL;
 
        return MMI_ERROR_NONE;
index 96f40b4..724bced 100644 (file)
@@ -26,7 +26,6 @@
 static rpc_port_proxy_mmi_h _rpc_h;
 static const char* _stub_appid = "mmi-manager";
 static int _connected = 0;
-static mmi_state_e _state = MMI_STATE_NONE;
 
 rpc_port_proxy_mmi_h
 mmi_ipc_get_rpc_h(void)
@@ -34,10 +33,6 @@ mmi_ipc_get_rpc_h(void)
        return _rpc_h;
 }
 
-mmi_state_e mmi_ipc_get_state(void)
-{
-       return _state;
-}
 
 bool
 mmi_ipc_is_connected(void)
@@ -120,6 +115,5 @@ mmi_ipc_shutdown(void)
        rpc_port_deregister_proc_info();
        _rpc_h = NULL;
 
-       _state = MMI_STATE_NONE;
        _connected = 0;
 }
index 3c2b138..4b64c4e 100644 (file)
@@ -29,10 +29,8 @@ int mmi_ipc_init(void);
 void mmi_ipc_shutdown(void);
 
 rpc_port_proxy_mmi_h mmi_ipc_get_rpc_h(void);
-mmi_state_e mmi_ipc_get_state(void);
 int mmi_ipc_get_uid(void);
 bool mmi_ipc_is_connected(void);
-const char *mmi_ipc_get_appid(void);
 const char *mmi_ipc_get_stub_appid(void);
 
 #ifdef __cplusplus
index 9cbb665..ba009f2 100644 (file)
--- a/src/mmi.h
+++ b/src/mmi.h
@@ -29,10 +29,6 @@ typedef enum {
 } mmi_result_e;
 
 typedef enum {
-       MMI_STATE_NONE,
-} mmi_state_e;
-
-typedef enum {
        MMI_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
        MMI_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of Memory */
        MMI_ERROR_IO_ERROR = TIZEN_ERROR_IO_ERROR, /**< I/O error */
index 004d831..ed51938 100644 (file)
@@ -3,6 +3,6 @@ interface mmi {
 
        int register_input_event(int input_event_type, result_cb callback);
 
-       int activate_input_event(int input_event_type, out int input_event_state);
+       int activate_input_event(int input_event_type);
        int deactivate_input_event(int input_event_type);
 }