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 ##
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);
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);
}
+#if 0
static Eina_Bool __vc_x_event_window_focus_in(void *data, int type, void *event)
{
Ecore_X_Event_Window_Focus_In *e;
return ECORE_CALLBACK_PASS_ON;
}
+#endif
static void __vc_fork_vc_daemon()
{
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);