Remove ecore_x dependency 96/41196/1 accepted/tizen_3.0.2015.q2_common tizen_3.0.2015.q2_common accepted/tizen/3.0.2015.q2/common/20150615.091828 accepted/tizen/common/20150612.071552 accepted/tizen/mobile/20150612.073210 accepted/tizen/tv/20150612.073218 accepted/tizen/wearable/20150612.073233 submit/tizen/20150611.123735 submit/tizen/20150612.011920 submit/tizen/20150709.045003 submit/tizen_3.0.2015.q2_common/20150615.075539
authorky85.kim <ky85.kim@samsung.com>
Thu, 11 Jun 2015 12:18:05 +0000 (21:18 +0900)
committerky85.kim <ky85.kim@samsung.com>
Thu, 11 Jun 2015 12:18:05 +0000 (21:18 +0900)
Change-Id: I678a1806889d53cc3254b030ebdfccac11868483

CMakeLists.txt
client/vc.c
common/vc_main.h

index 4807bfb..ae46760 100644 (file)
@@ -39,7 +39,7 @@ INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/include")
 INCLUDE(FindPkgConfig)
 pkg_check_modules(pkgs REQUIRED  
     aul capi-base-common capi-media-audio-io capi-media-sound-manager capi-network-bluetooth
-    dbus-1 dlog ecore ecore-x glib-2.0 libprivilege-control libxml-2.0 vconf
+    dbus-1 dlog ecore glib-2.0 libprivilege-control libxml-2.0 vconf
 )
 
 ## API ##
index a513569..a1a2f73 100644 (file)
@@ -33,8 +33,10 @@ static Ecore_Timer* g_connect_timer = NULL;
 
 static vc_h g_vc = NULL;
 
+#if 0
 static Ecore_Event_Handler* g_focus_in_hander = NULL;
 static Ecore_Event_Handler* g_focus_out_hander = NULL;
+#endif
 
 Eina_Bool __vc_notify_state_changed(void *data);
 Eina_Bool __vc_notify_error(void *data);
@@ -206,8 +208,10 @@ static void __vc_internal_unprepare()
 
        g_is_daemon_started = false;
 
+#if 0
        ecore_event_handler_del(g_focus_in_hander);
        ecore_event_handler_del(g_focus_out_hander);
+#endif
 
        vc_cmd_parser_delete_file(getpid(), VC_COMMAND_TYPE_FOREGROUND);
        vc_cmd_parser_delete_file(getpid(), VC_COMMAND_TYPE_BACKGROUND);
@@ -292,6 +296,7 @@ static Eina_Bool __notify_auth_changed_cb(void *data)
 
 }
 
+#if 0
 static Eina_Bool __vc_x_event_window_focus_in(void *data, int type, void *event) 
 { 
        Ecore_X_Event_Window_Focus_In *e;
@@ -361,6 +366,7 @@ static Eina_Bool __vc_x_event_window_focus_out(void *data, int type, void *event
 
        return ECORE_CALLBACK_PASS_ON;
 }
+#endif
 
 static void __vc_fork_vc_daemon()
 {
@@ -426,8 +432,10 @@ static Eina_Bool __vc_connect_daemon(void *data)
 
        g_connect_timer = NULL;
 
+#if 0
        g_focus_in_hander = ecore_event_handler_add(ECORE_X_EVENT_WINDOW_FOCUS_IN, __vc_x_event_window_focus_in, NULL);
        g_focus_out_hander = ecore_event_handler_add(ECORE_X_EVENT_WINDOW_FOCUS_OUT, __vc_x_event_window_focus_out, NULL);
+#endif
 
        vc_client_set_client_state(g_vc, VC_STATE_READY);
        ecore_timer_add(0, __vc_notify_state_changed, g_vc);
index b94c446..1c42b71 100644 (file)
@@ -21,7 +21,6 @@
 #include <dbus/dbus.h>
 #include <dlog.h>
 #include <Ecore.h>
-#include <Ecore_X.h>
 #include <glib.h>
 #include <stdio.h>
 #include <stdlib.h>