Add new elements for component-based application
[platform/core/appfw/pkgmgr-info.git] / include / pkgmgrinfo_basic.h
index deb93ab..fd5cbc1 100644 (file)
@@ -82,6 +82,7 @@ typedef struct appcontrol_x {
        char *uri;
        char *mime;
        char *visibility;
+       char *id;
        GList *privileges;
 } appcontrol_x;
 
@@ -90,6 +91,13 @@ 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;
@@ -119,6 +127,18 @@ typedef struct appdefined_privilege_x {
        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*/
@@ -182,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 {
@@ -225,6 +246,8 @@ typedef struct package_x {
        GList *application;             /**< package's application, element*/
        GList *compatibility;           /**< package compatibility, element*/
        GList *deviceprofile;           /**< package device profile, element*/
+       GList *dependencies;            /**< package dependencies, element*/
+       GList *plugin;          /**< plugin execution list, no xml part*/
 } package_x;
 
 typedef struct updateinfo_x {