Remove package_app_app_svc
[platform/core/appfw/pkgmgr-info.git] / include / pkgmgrinfo_basic.h
1 #ifndef __PKGMGR_INFO_BASIC_H__
2 #define __PKGMGR_INFO_BASIC_H__
3
4 #include <glib.h>
5
6 typedef struct metadata_x {
7         const char *key;
8         const char *value;
9 } metadata_x;
10
11 typedef struct permission_x {
12         const char *type;
13         const char *value;
14 } permission_x;
15
16 typedef struct icon_x {
17         const char *name;
18         const char *text;
19         const char *lang;
20         const char *section;
21         const char *size;
22         const char *resolution;
23 } icon_x;
24
25 typedef struct image_x {
26         const char *name;
27         const char *text;
28         const char *lang;
29         const char *section;
30 } image_x;
31
32 typedef struct define_x {
33         const char *path;
34         GList *allowed;
35         GList *request;
36 } define_x;
37
38 typedef struct datashare_x {
39         GList *define;
40         GList *request;
41 } datashare_x;
42
43 typedef struct description_x {
44         const char *name;
45         const char *text;
46         const char *lang;
47 } description_x;
48
49 typedef struct label_x {
50         const char *name;
51         const char *text;
52         const char *lang;
53 } label_x;
54
55 typedef struct author_x {
56         const char *email;
57         const char *href;
58         const char *text;
59         const char *lang;
60 } author_x;
61
62 typedef struct license_x {
63         const char *text;
64         const char *lang;
65 } license_x;
66
67 typedef struct condition_x {
68         const char *name;
69         const char *text;
70 } condition_x;
71
72 typedef struct notification_x {
73         const char *name;
74         const char *text;
75 } notification_x;
76
77 typedef struct appcontrol_x {
78         const char *operation;
79         const char *uri;
80         const char *mime;
81 } appcontrol_x;
82
83 typedef struct compatibility_x {
84         const char *name;
85         const char *text;
86 } compatibility_x;
87
88 typedef struct datacontrol_x {
89         const char *providerid;
90         const char *access;
91         const char *type;
92 } datacontrol_x;
93
94 typedef struct application_x {
95         const char *appid;
96         const char *component;
97         const char *exec;
98         const char *nodisplay;
99         const char *type;
100         const char *onboot;
101         const char *multiple;
102         const char *autorestart;
103         const char *taskmanage;
104         const char *enabled;
105         const char *categories;
106         const char *extraid;
107         const char *hwacceleration;
108         const char *screenreader;
109         const char *mainapp;
110         const char *recentimage;
111         const char *launchcondition;
112         const char *indicatordisplay;
113         const char *portraitimg;
114         const char *landscapeimg;
115         const char *guestmode_visibility;
116         const char *permission_type;
117         const char *preload;
118         const char *submode;
119         const char *submode_mainid;
120         const char *launch_mode;
121         const char *ui_gadget;
122         const char *support_disable;
123         const char *component_type;
124         const char *package;
125         GList *label;
126         GList *icon;
127         GList *image;
128         GList *appcontrol;
129         GList *category;
130         GList *metadata;
131         GList *permission;
132         GList *launchconditions;
133         GList *notification;
134         GList *datashare;
135         GList *datacontrol;
136 } application_x;
137
138 typedef struct package_x {
139         const char *for_all_users;              /**< Flag that indicates if the package is available for everyone or for current user only*/
140         const char *package;            /**< package name*/
141         const char *version;            /**< package version*/
142         const char *installlocation;            /**< package install location*/
143         const char *ns;         /**<name space*/
144         const char *removable;          /**< package removable flag*/
145         const char *preload;            /**< package preload flag*/
146         const char *readonly;           /**< package readonly flag*/
147         const char *update;                     /**< package update flag*/
148         const char *appsetting;         /**< package app setting flag*/
149         const char *system;             /**< package system flag*/
150         const char *type;               /**< package type*/
151         const char *package_size;               /**< package size for external installation*/
152         const char *installed_time;             /**< installed time after finishing of installation*/
153         const char *installed_storage;          /**< package currently installed storage*/
154         const char *storeclient_id;             /**< id of store client for installed package*/
155         const char *mainapp_id;         /**< app id of main application*/
156         const char *package_url;                /**< app id of main application*/
157         const char *root_path;          /**< package root path*/
158         const char *csc_path;           /**< package csc path*/
159         const char *nodisplay_setting;          /**< package no display setting menu*/
160         const char *api_version;                /**< minimum version of API package using*/
161         const char *support_disable;            /**< package support disable flag*/
162         GList *icon;            /**< package icon*/
163         GList *label;           /**< package label*/
164         GList *author;          /**< package author*/
165         GList *description;             /**< package description*/
166         GList *license;         /**< package license*/
167         GList *privileges;      /**< package privileges*/
168         GList *application;             /**< package's application*/
169         GList *compatibility;           /**< package compatibility*/
170 } package_x;
171
172 typedef struct package_x manifest_x;
173
174 void pkgmgrinfo_basic_free_application(application_x *application);
175 void pkgmgrinfo_basic_free_package(package_x *package);
176
177 #endif