Spec tweak for mkdir command.
[profile/ivi/menu-screen.git] / include / item.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
18
19 #ifndef __MENU_SCREEN_ITEM_H__
20 #define __MENU_SCREEN_ITEM_H__
21
22 #include <Evas.h>
23
24 #include "list.h"
25 #include "util.h"
26
27 extern char *item_get_icon(Evas_Object *item);
28 extern void item_set_icon(Evas_Object *item, char *icon, int sync);
29
30 extern char *item_get_name(Evas_Object *item);
31 extern void item_set_name(Evas_Object *item, char *name, int sync);
32
33 extern char *item_get_package(Evas_Object *item);
34 extern void item_set_package(Evas_Object *item, char *package, int sync);
35
36 extern int item_get_removable(Evas_Object *item);
37 extern void item_set_removable(Evas_Object *item, int removable, int sync);
38
39 extern Evas_Object *item_get_page(Evas_Object *edje);
40 extern void item_set_page(Evas_Object *edje, Evas_Object *page, int sync);
41
42 extern char *item_get_desktop(Evas_Object *item);
43 extern void item_set_desktop(Evas_Object *item, char *name, int sync);
44
45 extern void item_enable_delete(Evas_Object *obj);
46 extern void item_disable_delete(Evas_Object *item);
47
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);
51
52 extern void item_launch(Evas_Object *obj);
53
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);
58
59 extern menu_screen_error_e item_is_edje_icon(const char *icon);
60 extern int item_get_position(Evas_Object *item);
61
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);
65
66 #endif //__MENU_SCREEN_ITEM_H__
67
68 // End of a file