Change-Id: I678a1806889d53cc3254b030ebdfccac11868483
INCLUDE(FindPkgConfig)
pkg_check_modules(pkgs REQUIRED
aul capi-base-common capi-media-audio-io capi-media-sound-manager capi-network-bluetooth
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
static Ecore_Event_Handler* g_focus_in_hander = NULL;
static Ecore_Event_Handler* g_focus_out_hander = NULL;
static Ecore_Event_Handler* g_focus_in_hander = NULL;
static Ecore_Event_Handler* g_focus_out_hander = NULL;
Eina_Bool __vc_notify_state_changed(void *data);
Eina_Bool __vc_notify_error(void *data);
Eina_Bool __vc_notify_state_changed(void *data);
Eina_Bool __vc_notify_error(void *data);
g_is_daemon_started = false;
g_is_daemon_started = false;
ecore_event_handler_del(g_focus_in_hander);
ecore_event_handler_del(g_focus_out_hander);
ecore_event_handler_del(g_focus_in_hander);
ecore_event_handler_del(g_focus_out_hander);
vc_cmd_parser_delete_file(getpid(), VC_COMMAND_TYPE_FOREGROUND);
vc_cmd_parser_delete_file(getpid(), VC_COMMAND_TYPE_BACKGROUND);
vc_cmd_parser_delete_file(getpid(), VC_COMMAND_TYPE_FOREGROUND);
vc_cmd_parser_delete_file(getpid(), VC_COMMAND_TYPE_BACKGROUND);
static Eina_Bool __vc_x_event_window_focus_in(void *data, int type, void *event)
{
Ecore_X_Event_Window_Focus_In *e;
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;
}
return ECORE_CALLBACK_PASS_ON;
}
static void __vc_fork_vc_daemon()
{
static void __vc_fork_vc_daemon()
{
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);
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);
vc_client_set_client_state(g_vc, VC_STATE_READY);
ecore_timer_add(0, __vc_notify_state_changed, g_vc);
vc_client_set_client_state(g_vc, VC_STATE_READY);
ecore_timer_add(0, __vc_notify_state_changed, g_vc);
#include <dbus/dbus.h>
#include <dlog.h>
#include <Ecore.h>
#include <dbus/dbus.h>
#include <dlog.h>
#include <Ecore.h>
#include <glib.h>
#include <stdio.h>
#include <stdlib.h>
#include <glib.h>
#include <stdio.h>
#include <stdlib.h>