1 #ifndef __AUL_AMD_APPINFO_H_
2 #define __AUL_AMD_APPINFO_H_
12 AIT_ONBOOT, /* start on boot: boolean */
13 AIT_RESTART, /* auto restart: boolean */
23 #ifdef _APPFW_FEATURE_CHANGEABLE_COLOR
27 #ifdef _APPFW_FEATURE_PROCESS_POOL
31 #ifdef _APPFW_FEATURE_MULTI_INSTANCE
33 AIT_MULTI_INSTANCE_MAINID,
36 #ifdef _APPFW_FEATURE_TTS_MODE
39 #ifdef _APPFW_FEATURE_ULTRA_POWER_SAVING_MODE
42 #ifdef _APPFW_FEATURE_COOLDOWN_MODE_SUPPORT
45 #ifdef _APPFW_FEATURE_EXPANSION_PKG_INSTALL
52 #ifdef _APPFW_FEATURE_EFFECTIVE_APPID
55 #ifdef _APPFW_FEATURE_PRIVATE_SERVICE
61 #define APP_TYPE_SERVICE "svcapp"
62 #define APP_TYPE_UI "uiapp"
63 #define APP_TYPE_WIDGET "widgetapp"
64 #define APP_TYPE_WATCH "watchapp"
66 int appinfo_init(struct appinfomgr **cf);
67 void appinfo_fini(struct appinfomgr **cf);
69 const struct appinfomgr *appinfo_insert(struct appinfomgr *cf, const char *filename);
70 void appinfo_delete(struct appinfomgr *cf, const char *filename);
72 const struct appinfo *appinfo_find(struct appinfomgr *cf, const char *filename);
73 const char *appinfo_get_value(const struct appinfo *c, enum appinfo_type type);
74 const char *appinfo_set_value(struct appinfo *c, enum appinfo_type type, const char* val);
75 const char *appinfo_get_filename(const struct appinfo *c);
76 int appinfo_get_boolean(const struct appinfo *c, enum appinfo_type type);
78 typedef void (*appinfo_iter_callback)(void *user_data,
79 const char *filename, const struct appinfo *c);
80 void appinfo_foreach(struct appinfomgr *cf, appinfo_iter_callback cb, void *user_data);
82 #endif /* __AUL_AMD_APPINFO_H_ */