2 * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #ifndef __LOCK_DAEMON_H__
18 #define __LOCK_DAEMON_H__
20 #include <Elementary.h>
24 #include "window_mgr.h"
26 #define _EDJ(x) elm_layout_edje_get(x)
28 #ifdef TIZEN_BUILD_EMULATOR
29 #define LOCK_MGR_DEFAULT_BG_PATH "/opt/share/settings/Wallpapers/Default.jpg"
31 #define LOCK_MGR_DEFAULT_BG_PATH "/opt/share/settings/Wallpapers/Lock_default.png"
50 int lock_mgr_lcd_state_get(void);
51 int lock_mgr_get_lock_pid(void);
52 void lock_mgr_sound_play(lock_sound_type_e type);
54 void lock_mgr_idle_lock_state_set(int lock_state);
55 Eina_Bool lock_mgr_lockscreen_launch(void);
56 void lock_mgr_unlock(void);
58 int lock_mgr_daemon_start(void);
59 void lock_mgr_daemon_end(void);
61 #endif /* __LOCK_DAEMON_H__ */