X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fpkgmgrinfo_basic.h;h=974d9b808249acc6e7810b108e8e7609fbe88d9d;hb=377cb469645ad9fba7f08603cef75afb7980ba68;hp=fbc05af718eed98b0767a92bbb678f167e89a133;hpb=fcf2d621c931be1c672e20854d9d16296c360d54;p=platform%2Fcore%2Fappfw%2Fpkgmgr-info.git diff --git a/include/pkgmgrinfo_basic.h b/include/pkgmgrinfo_basic.h index fbc05af..974d9b8 100644 --- a/include/pkgmgrinfo_basic.h +++ b/include/pkgmgrinfo_basic.h @@ -3,6 +3,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + typedef struct metadata_x { char *key; char *value; @@ -77,6 +81,9 @@ typedef struct appcontrol_x { char *operation; char *uri; char *mime; + char *visibility; + char *id; + GList *privileges; } appcontrol_x; typedef struct compatibility_x { @@ -84,10 +91,19 @@ typedef struct compatibility_x { char *text; } compatibility_x; +typedef struct plugin_x { + char *pkgid; + char *appid; + char *plugin_type; + char *plugin_name; +} plugin_x; + typedef struct datacontrol_x { char *providerid; char *access; char *type; + char *trusted; + GList *privileges; } datacontrol_x; typedef struct splashscreen_x { @@ -100,17 +116,23 @@ typedef struct splashscreen_x { char *color_depth; } splashscreen_x; -/* FIXME: For temporary hotfix, will be removed */ -typedef struct support_size_x { - char *preview; - char *size; -} support_size_x; - typedef struct privilege_x { char *type; char *value; } privilege_x; +typedef struct appdefined_privilege_x { + char *type; + char *value; + char *license; +} appdefined_privilege_x; + +typedef struct dependency_x { + char *depends_on; + char *type; + char *required_version; +} dependency_x; + typedef struct application_x { char *appid; /*attr*/ char *exec; /*attr*/ @@ -145,6 +167,7 @@ typedef struct application_x { char *ui_gadget; /*attr, default: "false"*/ char *launch_mode; /*attr, default: "single"*/ char *support_ambient; /*attr, default: "false"*/ + char *setup_appid; /*attr*/ char *alias_appid; /*attr*/ char *effective_appid; /*attr*/ char *package_type; /*set from package_x*/ @@ -173,7 +196,6 @@ typedef struct application_x { GList *background_category; /*element*/ GList *appcontrol; /*element*/ GList *splashscreens; /*element*/ - GList *support_sizes; /* FIXME */ } application_x; typedef struct package_x { @@ -205,20 +227,34 @@ typedef struct package_x { char *zip_mount_file; /*no xml part*/ char *backend_installer; /**< package backend installer, attr*/ char *external_path; /**< external storage path if exists, no xml part*/ + char *use_system_certs; /**< use system certificates, attr*/ GList *icon; /**< package icon, element*/ GList *label; /**< package label, element*/ GList *author; /**< package author, element*/ GList *description; /**< package description, element*/ GList *license; /**< package license, no xml part*/ GList *privileges; /**< package privileges, element*/ + GList *appdefined_privileges; /**