X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fpkgmgrinfo_basic.h;h=fd5cbc151516f60d8956870471b22b48b8ecb2cb;hb=8dcd34312e0012d1509e623daedfb43388889a94;hp=c19940ecf06401d4f454fadad96ecfe2544ea7a2;hpb=059963acdcc9518e49fce4f56f1948dee3d246a3;p=platform%2Fcore%2Fappfw%2Fpkgmgr-info.git diff --git a/include/pkgmgrinfo_basic.h b/include/pkgmgrinfo_basic.h index c19940e..fd5cbc1 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,13 +116,35 @@ typedef struct splashscreen_x { char *color_depth; } splashscreen_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 component_x { + char *id; + char *type; + char *launch_mode; +} component_x; + typedef struct application_x { char *appid; /*attr*/ char *exec; /*attr*/ char *nodisplay; /*attr, default: "false"*/ char *multiple; /*attr, default: "false"*/ char *taskmanage; /*attr, default: "true"*/ - char *enabled; /*attr, default: "true"*/ char *type; /*attr*/ char *categories; /*attr*/ char *extraid; /*attr*/ @@ -134,7 +172,8 @@ typedef struct application_x { char *support_disable; /*set from package_x*/ char *ui_gadget; /*attr, default: "false"*/ char *launch_mode; /*attr, default: "single"*/ - char *ambient_support; /*attr, default: "false"*/ + 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*/ @@ -145,6 +184,11 @@ typedef struct application_x { char *for_all_users; /**< Flag that indicates if the package is available for everyone or for current user only, no xml part*/ char *is_disabled; /**< Flag that indicates if the application is disabled or not, no xml part*/ char *splash_screen_display; /*attr, default: "true"*/ + char *external_path; /**< external storage path if exists, no xml part*/ + char *package_system; /*set from package_x*/ + char *removable; /*set from package_x*/ + char *package_installed_time; /*installed time after finishing of installation*/ + char *support_mode; /*attr*/ GList *label; /*element*/ GList *icon; /*element*/ GList *image; /*element*/ @@ -158,6 +202,7 @@ typedef struct application_x { GList *background_category; /*element*/ GList *appcontrol; /*element*/ GList *splashscreens; /*element*/ + GList *components; /*element*/ } application_x; typedef struct package_x { @@ -182,25 +227,41 @@ typedef struct package_x { char *root_path; /**< package root path, attr*/ char *csc_path; /**< package csc path, attr*/ char *nodisplay_setting; /**< package no display setting menu, attr, default: "false"*/ + char *support_mode; /**< package support mode, attr*/ char *support_disable; /**< package support disable flag, attr, default: "false"*/ char *api_version; /**< minimum version of API package using, attr, default: patch_version trimmed version from tizen_full_version*/ char *tep_name; /*no xml part*/ 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; /**