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 {
94 typedef struct splashscreen_x {
99 char *indicatordisplay;
104 typedef struct privilege_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"*/
116 char *categories; /*attr*/
117 char *extraid; /*attr*/
118 char *hwacceleration; /*attr, default: "default"*/
119 char *screenreader; /*attr, default: "use-system-setting"*/
120 char *mainapp; /*attr, default: "false"*/
121 char *package; /*set from package_x*/
122 char *recentimage; /*attr, default: "false"*/
123 char *launchcondition; /*attr, default: "false"*/
124 char *indicatordisplay; /*attr, default: "true"*/
125 char *portraitimg; /*attr*/
126 char *landscapeimg; /*attr*/
127 char *effectimage_type; /*attr, default: "image"*/
128 char *guestmode_visibility; /*attr, default: "true"*/
129 char *component; /*no xml part*/
130 char *permission_type; /*attr, default: "normal"*/
131 char *component_type; /*attr, default: "uiapp"*/
132 char *preload; /*no xml part*/
133 char *submode; /*attr, default: "false"*/
134 char *submode_mainid; /*attr, default: "false"*/
135 char *process_pool; /*attr, default: "false"*/
136 char *installed_storage;
137 char *autorestart; /*attr, default: "false"*/
138 char *onboot; /*attr, default: "false"*/
139 char *support_disable; /*set from package_x*/
140 char *ui_gadget; /*attr, default: "false"*/
141 char *launch_mode; /*attr, default: "single"*/
142 char *support_ambient; /*attr, default: "false"*/
143 char *setup_appid; /*attr*/
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 char *external_path; /**< external storage path if exists, no xml part*/
155 char *package_system; /*set from package_x*/
156 char *removable; /*set from package_x*/
157 char *package_installed_time; /*installed time after finishing of installation*/
158 char *support_mode; /*attr*/
159 GList *label; /*element*/
160 GList *icon; /*element*/
161 GList *image; /*element*/
162 GList *category; /*element*/
163 GList *metadata; /*element*/
164 GList *permission; /*element*/
165 GList *launchconditions; /*element*/
166 GList *notification; /*element*/
167 GList *datashare; /*element*/
168 GList *datacontrol; /*element*/
169 GList *background_category; /*element*/
170 GList *appcontrol; /*element*/
171 GList *splashscreens; /*element*/
174 typedef struct package_x {
175 char *for_all_users; /**< Flag that indicates if the package is available for everyone or for current user only, no xml part*/
176 char *package; /**< package name, attr*/
177 char *version; /**< package version, attr*/
178 char *installlocation; /**< package install location, attr, default: "internal-only"*/
179 char *ns; /**<name space, attr*/
180 char *removable; /**< package removable flag, no xml part*/
181 char *preload; /**< package preload flag, no xml part*/
182 char *readonly; /**< package readonly flag, no xml part*/
183 char *update; /**< package update flag, no xml part*/
184 char *appsetting; /**< package app setting flag, attr, default: "false"*/
185 char *system; /**< package system flag, no xml part*/
186 char *type; /**< package type, attr*/
187 char *package_size; /**< package size for external installation, attr*/
188 char *installed_time; /**< installed time after finishing of installation, no xml part*/
189 char *installed_storage; /**< package currently installed storage, no xml part*/
190 char *storeclient_id; /**< id of store client for installed package, attr*/
191 char *mainapp_id; /**< app id of main application, no xml part*/
192 char *package_url; /**< app id of main application, attr*/
193 char *root_path; /**< package root path, attr*/
194 char *csc_path; /**< package csc path, attr*/
195 char *nodisplay_setting; /**< package no display setting menu, attr, default: "false"*/
196 char *support_mode; /**< package support mode, attr*/
197 char *support_disable; /**< package support disable flag, attr, default: "false"*/
198 char *api_version; /**< minimum version of API package using, attr, default: patch_version trimmed version from tizen_full_version*/
199 char *tep_name; /*no xml part*/
200 char *zip_mount_file; /*no xml part*/
201 char *backend_installer; /**< package backend installer, attr*/
202 char *external_path; /**< external storage path if exists, no xml part*/
203 GList *icon; /**< package icon, element*/
204 GList *label; /**< package label, element*/
205 GList *author; /**< package author, element*/
206 GList *description; /**< package description, element*/
207 GList *license; /**< package license, no xml part*/
208 GList *privileges; /**< package privileges, element*/
209 GList *application; /**< package's application, element*/
210 GList *compatibility; /**< package compatibility, element*/
211 GList *deviceprofile; /**< package device profile, element*/
214 typedef struct updateinfo_x {
220 typedef struct package_x manifest_x;
222 void pkgmgrinfo_basic_free_application(application_x *application);
223 void pkgmgrinfo_basic_free_package(package_x *package);