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