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 8f9ce00..7aefeb5 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 4247795..469d7a0 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 cbb3fe6..4afee2e 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 0e97f4d..17741e6 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 efa2c0b..a52faeb 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 09b535d..2172a7f 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