Merge 2.4 to 3.0
[apps/native/menu-screen.git] / include / layout.h
1 /*
2  * MENU-SCREEN
3  *
4  * Copyright (c) 2009-2014 Samsung Electronics Co., Ltd All Rights Reserved
5  *
6  * Contact: Jin Yoon <jinny.yoon@samsung.com>
7  *          Junkyu Han <junkyu.han@samsung.com>
8
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  * http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  *
21  */
22
23 #ifndef __MENU_SCREEN_LAYOUT_H__
24 #define __MENU_SCREEN_LAYOUT_H__
25
26 #include <Evas.h>
27 #include "util.h"
28
29 extern Evas_Object *layout_create(Evas_Object *conformant, const char *file, const char *group, int rotate);
30 extern void layout_destroy(Evas_Object *layout);
31
32 extern void layout_enable_block(Evas_Object *layout);
33 extern void layout_disable_block(Evas_Object *layout);
34
35 extern Evas_Object* layout_load_edj(Evas_Object *parent, const char *edjname, const char *grpname);
36 extern void layout_unload_edj(Evas_Object *layout);
37
38 HAPI void layout_create_package(Evas_Object *layout, const char *package);
39 HAPI void layout_update_package(Evas_Object *layout, const char *package);
40 HAPI void layout_delete_package(Evas_Object *layout, const char *package);
41
42 #endif //__MENU_SCREEN_LAYOUT_H__
43
44 // End of a file