disable a keyrotuer module 00/175900/1
authorJengHyun Kang <jhyuni.kang@samsung.com>
Fri, 13 Apr 2018 07:54:59 +0000 (16:54 +0900)
committerJengHyun Kang <jhyuni.kang@samsung.com>
Fri, 13 Apr 2018 07:55:04 +0000 (16:55 +0900)
  - keyrouter functions are moved to enlightenment's core system

Change-Id: I0f24339d0e6238cd5e75e7a958772c17e12166cc

packaging/e-mod-tizen-keyrouter.spec
src/e_mod_keyrouter_conf.c
src/e_mod_keyrouter_events.c
src/e_mod_keyrouter_list.c
src/e_mod_main_wl.c
src/e_mod_main_wl.h

index 8f9ce00345603a0a9531fafc01273f1621a202cb..7aefeb5729a99c47c27b66bc59bd1492c959ee4c 100644 (file)
@@ -26,7 +26,7 @@ This package is a the Enlightenment Keyrouter Module for Tizen.
 %build
 
 export GC_SECTIONS_FLAGS="-fdata-sections -ffunction-sections -Wl,--gc-sections"
-export CFLAGS+=" -Wall -g -fPIC -rdynamic ${GC_SECTIONS_FLAGS} -DE_LOGGING=1 "
+export CFLAGS+=" -Wall -g -fPIC -rdynamic ${GC_SECTIONS_FLAGS} -DE_LOGGING=1 -D_F_ENABLE_KEYROUTER_CORE "
 export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=/usr/lib"
 
 %autogen
index 4247795e31e3a6139bc14dfd87b8f1e7aa9abaf6..469d7a0194b98571aa592cf5748a1ae943acb297 100644 (file)
@@ -1,3 +1,5 @@
+#ifndef _F_ENABLE_KEYROUTER_CORE
+
 #define E_COMP_WL
 #include "e_mod_main_wl.h"
 
@@ -53,3 +55,5 @@ e_keyrouter_conf_deinit(E_Keyrouter_Config_Data *kconfig)
    E_CONFIG_DD_FREE(kconfig->conf_hwkeys_edd);
    E_CONFIG_DD_FREE(kconfig->conf_edd);
 }
+
+#endif
index cbb3fe6a153a16125c66dee55222daa4eff3fdc6..4afee2e81d3f28a7f3e38bf49384a3027ac1ee1a 100644 (file)
@@ -1,3 +1,5 @@
+#ifndef _F_ENABLE_KEYROUTER_CORE
+
 #define E_COMP_WL
 #include "e_mod_main_wl.h"
 
@@ -804,3 +806,4 @@ e_keyrouter_util_process_name_get_from_cmd(char *cmd)
      }
    return NULL;
 }
+#endif
index 0e97f4df88b0d82c057ad29835d432e1a99b2411..17741e6775d707189f32ece1b720f91708b102da 100644 (file)
@@ -1,3 +1,4 @@
+#ifndef _F_ENABLE_KEYROUTER_CORE
 #define E_COMP_WL
 #include "e_mod_main_wl.h"
 
@@ -794,3 +795,4 @@ _e_keyrouter_get_list(int mode, int key)
 
    return list;
 }
+#endif
index efa2c0b1711b47150396dff1cc10fb7b2a670e08..a52faebc0b4ad76a1feda549f53357fdb22835db 100644 (file)
@@ -1,3 +1,4 @@
+#ifndef _F_ENABLE_KEYROUTER_CORE
 #define E_COMP_WL
 #include "e_mod_main_wl.h"
 #include <device/power.h>
@@ -1581,3 +1582,4 @@ finish:
    return res;
 }
 #endif
+#endif
index 09b535d9d922d964c7cf710a2e576410a0b65d5b..2172a7f672a7cedd1acce1fa8fb8a24852db55f5 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef E_MOD_MAIN_H
 #define E_MOD_MAIN_H
 
+#ifndef _F_ENABLE_KEYROUTER_CORE
+
 #include "e.h"
 #include <tizen-extension-server-protocol.h>
 #ifdef ENABLE_CYNARA
@@ -166,3 +168,4 @@ void e_keyrouter_conf_deinit(E_Keyrouter_Config_Data *kconfig);
 int e_keyrouter_cb_picture_off(const int option, void *data);
 
 #endif
+#endif