Add apis for datacontrol privileges info
[platform/core/appfw/pkgmgr-info.git] / include / pkgmgrinfo_basic.h
index 0886c5c..d6a197a 100644 (file)
@@ -88,6 +88,8 @@ typedef struct datacontrol_x {
        char *providerid;
        char *access;
        char *type;
+       char *trusted;
+       GList *privileges;
 } datacontrol_x;
 
 typedef struct splashscreen_x {
@@ -100,12 +102,6 @@ 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;
@@ -117,7 +113,6 @@ typedef struct application_x {
        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*/
@@ -145,7 +140,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*/
@@ -160,6 +156,7 @@ typedef struct application_x {
        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*/
@@ -173,7 +170,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 {
@@ -198,6 +194,7 @@ 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*/
@@ -215,6 +212,12 @@ typedef struct package_x {
        GList *deviceprofile;           /**< package device profile, element*/
 } package_x;
 
+typedef struct updateinfo_x {
+       char *pkgid;
+       char *version;
+       int type;
+} updateinfo_x;
+
 typedef struct package_x manifest_x;
 
 void pkgmgrinfo_basic_free_application(application_x *application);