[Other]Tizen 2.0 branch
[apps/core/preloaded/lockscreen.git] / src / util.h
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.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
7  *
8  *  http://www.tizenopensource.org/license
9  *
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.
15  */
16
17 #ifndef __UTIL_H__
18 #define __UTIL_H__
19
20 #include "lockscreen.h"
21
22 void _set_win_property(Evas_Object *win);
23
24 Evas_Object *_add_layout(Evas_Object *parent, const char *file, const char *group);
25 Evas_Object *_make_top_layout(struct appdata *ad);
26 Evas_Object *_get_bg_image(Evas_Object *parent);
27 void lockscreen_info_show(struct appdata *ad);
28 void lockscreen_info_hide(struct appdata *ad);
29
30 int _app_create(struct appdata *ad);
31 int _app_reset(struct appdata *ad);
32 int _app_terminate(struct appdata *ad);
33
34 #endif