2 * Copyright 2012 Samsung Electronics Co., Ltd
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
8 * http://www.tizenopensource.org/license
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.
19 #ifndef __MENU_SCREEN_ITEM_H__
20 #define __MENU_SCREEN_ITEM_H__
27 extern char *item_get_icon(Evas_Object *item);
28 extern void item_set_icon(Evas_Object *item, char *icon, int sync);
30 extern char *item_get_name(Evas_Object *item);
31 extern void item_set_name(Evas_Object *item, char *name, int sync);
33 extern char *item_get_package(Evas_Object *item);
34 extern void item_set_package(Evas_Object *item, char *package, int sync);
36 extern int item_get_removable(Evas_Object *item);
37 extern void item_set_removable(Evas_Object *item, int removable, int sync);
39 extern Evas_Object *item_get_page(Evas_Object *edje);
40 extern void item_set_page(Evas_Object *edje, Evas_Object *page, int sync);
42 extern char *item_get_desktop(Evas_Object *item);
43 extern void item_set_desktop(Evas_Object *item, char *name, int sync);
45 extern void item_enable_delete(Evas_Object *obj);
46 extern void item_disable_delete(Evas_Object *item);
48 extern Evas_Object *item_create(Evas_Object *scroller, app_info_t* ai);
49 extern void item_update(Evas_Object *item, app_info_t *ai);
50 extern void item_destroy(Evas_Object *obj);
52 extern void item_launch(Evas_Object *obj);
54 extern void item_enable_progress(Evas_Object *obj);
55 extern int item_is_enabled_progress(Evas_Object *obj);
56 extern void item_update_progress(Evas_Object *obj, int value);
57 extern void item_disable_progress(Evas_Object *obj);
59 extern menu_screen_error_e item_is_edje_icon(const char *icon);
60 extern int item_get_position(Evas_Object *item);
62 extern void item_mark_dirty(Evas_Object *item);
63 extern void item_unmark_dirty(Evas_Object *item);
64 extern int item_is_dirty(Evas_Object *item);
66 #endif //__MENU_SCREEN_ITEM_H__