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 b363e3289ab09ee1a3dbdc4dc8fc2f24416bd6a9..a1626be04e278c9f917b0961302b3f3d7ea8193a 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 96f40b47b1ebb5c467b7fb9b821023392ac0fb0c..724bcedc48b3f21a8867156f60e485af89d25109 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 3c2b138271769fdec7452e7cf4ba179360a65827..4b64c4ed63bfb56e405d66f6b5075c537ba07650 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 9cbb665eb0ad065a4064a453c207025ec5526290..ba009f2c303df15b14324a9590d44bce276cefce 100644 (file)
--- a/src/mmi.h
+++ b/src/mmi.h
@@ -28,10 +28,6 @@ typedef enum {
        MMI_RESULT_SUCCESS
 } 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 */
index 004d8310c0c8fd65456ab5c8067171e34a4a82aa..ed51938f4a1f6fee84dc58349acd158e7e33d8d9 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);
 }