Change the display text from size to version
[apps/core/preloaded/ug-setting-manage-applications-efl.git] / ug / include / mgr-app-view-main.h
1 /*\r
2  *      Copyright 2013  Samsung Electronics Co., Ltd\r
3  *\r
4  *      Licensed under the Flora License, Version 1.0 (the "License");\r
5  *      you may not use this file except in compliance with the License.\r
6  *      You may obtain a copy of the License at\r
7  *\r
8  *              http://floralicense.org/license/\r
9  *\r
10  *      Unless required by applicable law or agreed to in writing, software\r
11  *      distributed under the License is distributed on an "AS IS" BASIS,\r
12  *      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13  *      See the License for the specific language governing permissions and\r
14  *      limitations under the License.\r
15  */\r
16 \r
17 \r
18 #ifndef __MGR_APP_MAIN_H__\r
19 #define __MGR_APP_MAIN_H__\r
20 \r
21 #ifdef __cplusplus\r
22 extern "C" {\r
23 #endif /* __cplusplus */\r
24 \r
25 #include <stdbool.h>\r
26 #include <pkgmgr-info.h>\r
27 \r
28 typedef struct _mgr_app_app_info_t mgr_app_app_info_t;\r
29 struct _mgr_app_app_info_t {\r
30         char    *pkg_name;\r
31         char    *icon_path;\r
32 \r
33         char    *pkg_label;\r
34         char    *pkg_type;\r
35         char    *pkg_version;\r
36         int     total_size;\r
37         int             data_size;\r
38         bool    nodisplay;\r
39         bool    removable;\r
40         bool    taskmanage;\r
41 \r
42         char    *main_appid;\r
43 };\r
44 \r
45 void mgrapp_view_list_create(void *data);\r
46 void mgrapp_view_list_update(void *data);\r
47 void mgrapp_view_info_create(char *pkg_name, void *data);\r
48 void mgrapp_view_info_update(void *data);\r
49 void mgrapp_view_info_destroy(void *data);\r
50 void mgrapp_view_list_update_by_uninstall(const char *pkg_type, const char *pkg_name, void *data);\r
51 \r
52 #ifdef __cplusplus\r
53 }\r
54 #endif\r
55 \r
56 \r
57 #endif /*__MGR_APP_MAIN_H__*/\r