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 __WINDOW_MGR_H__
18 #define __WINDOW_MGR_H__
20 typedef struct _lockw_data lockw_data;
22 int window_mgr_get_focus_window_pid(void);
23 Eina_Bool window_mgr_set_prop(lockw_data * data, int lock_app_pid, void *event);
24 Eina_Bool window_mgr_set_effect(lockw_data * data, int lock_app_pid, void *event);
26 void window_mgr_set_scroll_prop(lockw_data * data, int lock_type);
27 void window_mgr_register_event(void *data, lockw_data * lockw,
28 Eina_Bool (*create_cb) (void *, int, void *),
29 Eina_Bool (*show_cb) (void *, int, void *));
30 void window_mgr_unregister_event(lockw_data * lockw);
32 lockw_data *window_mgr_init(void);
33 void window_mgr_fini(lockw_data *lockw);
35 Evas_Object *window_mgr_pwd_lock_win_create(void);
37 #endif /* __WINDOW_MGR_H__ */