1 #ifndef __PKGMGR_INFO_BASIC_H__
2 #define __PKGMGR_INFO_BASIC_H__
6 typedef struct metadata_x {
11 typedef struct permission_x {
16 typedef struct icon_x {
25 typedef struct image_x {
31 typedef struct define_x {
37 typedef struct datashare_x {
42 typedef struct description_x {
48 typedef struct label_x {
54 typedef struct author_x {
61 typedef struct license_x {
66 typedef struct condition_x {
71 typedef struct notification_x {
76 typedef struct appcontrol_x {
82 typedef struct compatibility_x {
87 typedef struct datacontrol_x {
93 typedef struct splashscreen_x {
98 char *indicatordisplay;
103 /* FIXME: For temporary hotfix, will be removed */
104 typedef struct support_size_x {
109 typedef struct application_x {
110 char *appid; /*attr*/
112 char *nodisplay; /*attr, default: "false"*/
113 char *multiple; /*attr, default: "false"*/
114 char *taskmanage; /*attr, default: "true"*/
115 char *enabled; /*attr, default: "true"*/
117 char *categories; /*attr*/
118 char *extraid; /*attr*/
119 char *hwacceleration; /*attr, default: "default"*/
120 char *screenreader; /*attr, default: "use-system-setting"*/
121 char *mainapp; /*attr, default: "false"*/
122 char *package; /*set from package_x*/
123 char *recentimage; /*attr, default: "false"*/
124 char *launchcondition; /*attr, default: "false"*/
125 char *indicatordisplay; /*attr, default: "true"*/
126 char *portraitimg; /*attr*/
127 char *landscapeimg; /*attr*/
128 char *effectimage_type; /*attr, default: "image"*/
129 char *guestmode_visibility; /*attr, default: "true"*/
130 char *component; /*no xml part*/
131 char *permission_type; /*attr, default: "normal"*/
132 char *component_type; /*attr, default: "uiapp"*/
133 char *preload; /*no xml part*/
134 char *submode; /*attr, default: "false"*/
135 char *submode_mainid; /*attr, default: "false"*/
136 char *process_pool; /*attr, default: "false"*/
137 char *installed_storage;
138 char *autorestart; /*attr, default: "false"*/
139 char *onboot; /*attr, default: "false"*/
140 char *support_disable; /*set from package_x*/
141 char *ui_gadget; /*attr, default: "false"*/
142 char *launch_mode; /*attr, default: "single"*/
143 char *ambient_support; /*attr, default: "false"*/
144 char *alias_appid; /*attr*/
145 char *effective_appid; /*attr*/
146 char *package_type; /*set from package_x*/
147 char *tep_name; /*set from package_x*/
148 char *zip_mount_file; /*set from package_x*/
149 char *root_path; /*set from package_x*/
150 char *api_version; /*set from package_x*/
151 char *for_all_users; /**< Flag that indicates if the package is available for everyone or for current user only, no xml part*/
152 char *is_disabled; /**< Flag that indicates if the application is disabled or not, no xml part*/
153 char *splash_screen_display; /*attr, default: "true"*/
154 GList *label; /*element*/
155 GList *icon; /*element*/
156 GList *image; /*element*/
157 GList *category; /*element*/
158 GList *metadata; /*element*/
159 GList *permission; /*element*/
160 GList *launchconditions; /*element*/
161 GList *notification; /*element*/
162 GList *datashare; /*element*/
163 GList *datacontrol; /*element*/
164 GList *background_category; /*element*/
165 GList *appcontrol; /*element*/
166 GList *splashscreens; /*element*/
167 GList *support_sizes; /* FIXME */
170 typedef struct package_x {
171 char *for_all_users; /**< Flag that indicates if the package is available for everyone or for current user only, no xml part*/
172 char *package; /**< package name, attr*/
173 char *version; /**< package version, attr*/
174 char *installlocation; /**< package install location, attr, default: "internal-only"*/
175 char *ns; /**<name space, attr*/
176 char *removable; /**< package removable flag, no xml part*/
177 char *preload; /**< package preload flag, no xml part*/
178 char *readonly; /**< package readonly flag, no xml part*/
179 char *update; /**< package update flag, no xml part*/
180 char *appsetting; /**< package app setting flag, attr, default: "false"*/
181 char *system; /**< package system flag, no xml part*/
182 char *type; /**< package type, attr*/
183 char *package_size; /**< package size for external installation, attr*/
184 char *installed_time; /**< installed time after finishing of installation, no xml part*/
185 char *installed_storage; /**< package currently installed storage, no xml part*/
186 char *storeclient_id; /**< id of store client for installed package, attr*/
187 char *mainapp_id; /**< app id of main application, no xml part*/
188 char *package_url; /**< app id of main application, attr*/
189 char *root_path; /**< package root path, attr*/
190 char *csc_path; /**< package csc path, attr*/
191 char *nodisplay_setting; /**< package no display setting menu, attr, default: "false"*/
192 char *support_disable; /**< package support disable flag, attr, default: "false"*/
193 char *api_version; /**< minimum version of API package using, attr, default: patch_version trimmed version from tizen_full_version*/
194 char *tep_name; /*no xml part*/
195 char *zip_mount_file; /*no xml part*/
196 char *backend_installer; /**< package backend installer, attr*/
197 GList *icon; /**< package icon, element*/
198 GList *label; /**< package label, element*/
199 GList *author; /**< package author, element*/
200 GList *description; /**< package description, element*/
201 GList *license; /**< package license, no xml part*/
202 GList *privileges; /**< package privileges, element*/
203 GList *application; /**< package's application, element*/
204 GList *compatibility; /**< package compatibility, element*/
205 GList *deviceprofile; /**< package device profile, element*/
208 typedef struct package_x manifest_x;
210 void pkgmgrinfo_basic_free_application(application_x *application);
211 void pkgmgrinfo_basic_free_package(package_x *package);