+#if 0
static Eina_Bool _alarm_set(int sec)
{
time_t current_time;
return EINA_TRUE;
}
+#endif
if (ret < 0) {
_E("Failed to set vconfkey : VCONFKEY_IDLE_LOCK_STATE");
}
+
+ ret = vconf_set_int(VCONFKEY_IDLE_LOCK_STATE_READ_ONLY, lock_state);
+ if (ret < 0) {
+ _E("Failed to set vconfkey : VCONFKEY_IDLE_LOCK_STATE_READ_ONLY");
+ }
}
+#ifdef HAVE_X11
static Eina_Bool _lock_create_cb(void *data, int type, void *event)
{
-#ifdef HAVE_X11
_D("lockw(%p), lock_pid(%d)", s_lock_mgr.lockw, s_lock_mgr.lock_pid);
if (window_mgr_set_effect(s_lock_mgr.lockw, s_lock_mgr.lock_pid, event) == EINA_TRUE) {
_E("window is not matched..!!");
}
}
-#endif
return ECORE_CALLBACK_PASS_ON;
}
+#endif
+#ifdef HAVE_X11
static Eina_Bool _lock_show_cb(void *data, int type, void *event)
{
-#ifdef HAVE_X11
_D("lockw(%p), lock_pid(%d)", s_lock_mgr.lockw, s_lock_mgr.lock_pid);
if (window_mgr_set_prop(s_lock_mgr.lockw, s_lock_mgr.lock_pid, event)) {
window_mgr_set_scroll_prop(s_lock_mgr.lockw, lock_type);
}
-#endif
return ECORE_CALLBACK_CANCEL;
}
+#endif
+#if 0
#define LCD_OFF_ALARM_LOCK_TIME 5
static void _lcd_off_by_timeout(void)
{
_alarm_lockscreen_launch(-1, NULL);
}
}
+#endif
+#if 0
static Eina_Bool _finish_boot_animation(void *data)
{
if (vconf_set_int(VCONFKEY_BOOT_ANIMATION_FINISHED, 1) != 0) {
process_mgr_set_pwlock_priority(pid);
ecore_timer_add(0.5, _finish_boot_animation, NULL);
}
+#endif