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 {
21 const char *resolution;
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 {
77 const char *operation;
82 typedef struct compatibility_x {
87 typedef struct datacontrol_x {
88 const char *providerid;
93 typedef struct splashscreen_x {
97 const char *orientation;
98 const char *indicatordisplay;
99 const char *operation;
102 typedef struct application_x {
103 const char *appid; /*attr*/
104 const char *exec; /*attr*/
105 const char *nodisplay; /*attr, default: "false"*/
106 const char *multiple; /*attr, default: "false"*/
107 const char *taskmanage; /*attr, default: "true"*/
108 const char *enabled; /*attr, default: "true"*/
109 const char *type; /*attr*/
110 const char *categories; /*attr*/
111 const char *extraid; /*attr*/
112 const char *hwacceleration; /*attr, default: "default"*/
113 const char *screenreader; /*attr, default: "use-system-setting"*/
114 const char *mainapp; /*attr, default: "false"*/
115 const char *package; /*set from package_x*/
116 const char *recentimage; /*attr, default: "false"*/
117 const char *launchcondition; /*attr, default: "false"*/
118 const char *indicatordisplay; /*attr, default: "true"*/
119 const char *portraitimg; /*attr*/
120 const char *landscapeimg; /*attr*/
121 const char *effectimage_type; /*attr, default: "image"*/
122 const char *guestmode_visibility; /*attr, default: "true"*/
123 const char *component; /*no xml part*/
124 const char *permission_type; /*attr, default: "normal"*/
125 const char *component_type; /*attr, default: "uiapp"*/
126 const char *preload; /*no xml part*/
127 const char *submode; /*attr, default: "false"*/
128 const char *submode_mainid; /*attr, default: "false"*/
129 const char *process_pool; /*attr, default: "false"*/
130 const char *installed_storage;
131 const char *autorestart; /*attr, default: "false"*/
132 const char *onboot; /*attr, default: "false"*/
133 const char *support_disable; /*set from package_x*/
134 const char *ui_gadget; /*attr, default: "false"*/
135 const char *launch_mode; /*attr, default: "single"*/
136 const char *ambient_support; /*attr, default: "false"*/
137 const char *alias_appid; /*attr*/
138 const char *effective_appid; /*attr*/
139 const char *package_type; /*set from package_x*/
140 GList *label; /*element*/
141 GList *icon; /*element*/
142 GList *image; /*element*/
143 GList *category; /*element*/
144 GList *metadata; /*element*/
145 GList *permission; /*element*/
146 GList *launchconditions; /*element*/
147 GList *notification; /*element*/
148 GList *datashare; /*element*/
149 GList *datacontrol; /*element*/
150 GList *background_category; /*element*/
151 GList *appcontrol; /*element*/
152 GList *splashscreens; /*element*/
155 typedef struct package_x {
156 const char *for_all_users; /**< Flag that indicates if the package is available for everyone or for current user only, no xml part*/
157 const char *package; /**< package name, attr*/
158 const char *version; /**< package version, attr*/
159 const char *installlocation; /**< package install location, attr, default: "internal-only"*/
160 const char *ns; /**<name space, attr*/
161 const char *removable; /**< package removable flag, no xml part*/
162 const char *preload; /**< package preload flag, no xml part*/
163 const char *readonly; /**< package readonly flag, no xml part*/
164 const char *update; /**< package update flag, no xml part*/
165 const char *appsetting; /**< package app setting flag, attr, default: "false"*/
166 const char *system; /**< package system flag, no xml part*/
167 const char *type; /**< package type, attr*/
168 const char *package_size; /**< package size for external installation, attr*/
169 const char *installed_time; /**< installed time after finishing of installation, no xml part*/
170 const char *installed_storage; /**< package currently installed storage, no xml part*/
171 const char *storeclient_id; /**< id of store client for installed package, attr*/
172 const char *mainapp_id; /**< app id of main application, no xml part*/
173 const char *package_url; /**< app id of main application, attr*/
174 const char *root_path; /**< package root path, attr*/
175 const char *csc_path; /**< package csc path, attr*/
176 const char *nodisplay_setting; /**< package no display setting menu, attr, default: "false"*/
177 const char *support_disable; /**< package support disable flag, attr, default: "false"*/
178 const char *api_version; /**< minimum version of API package using, attr, default: patch_version trimmed version from tizen_full_version*/
179 const char *tep_name; /*no xml part*/
180 const char *backend_installer; /**< package backend installer, attr*/
181 GList *icon; /**< package icon, element*/
182 GList *label; /**< package label, element*/
183 GList *author; /**< package author, element*/
184 GList *description; /**< package description, element*/
185 GList *license; /**< package license, no xml part*/
186 GList *privileges; /**< package privileges, element*/
187 GList *application; /**< package's application, element*/
188 GList *compatibility; /**< package compatibility, element*/
189 GList *deviceprofile; /**< package device profile, element*/
192 typedef struct package_x manifest_x;
194 void pkgmgrinfo_basic_free_application(application_x *application);
195 void pkgmgrinfo_basic_free_package(package_x *package);