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_MULTI_WINDOW
39 #ifdef _APPFW_FEATURE_TTS_MODE
42 #ifdef _APPFW_FEATURE_ULTRA_POWER_SAVING_MODE
48 int appinfo_init(struct appinfomgr **cf);
49 void appinfo_fini(struct appinfomgr **cf);
51 const struct appinfo *appinfo_insert(struct appinfomgr *cf, const char *filename);
52 void appinfo_delete(struct appinfomgr *cf, const char *filename);
54 const struct appinfo *appinfo_find(struct appinfomgr *cf, const char *filename);
55 const char *appinfo_get_value(const struct appinfo *c, enum appinfo_type type);
56 const char *appinfo_set_value(struct appinfo *c, enum appinfo_type type, const char* val);
57 const char *appinfo_get_filename(const struct appinfo *c);
58 int appinfo_get_boolean(const struct appinfo *c, enum appinfo_type type);
60 typedef void (*appinfo_iter_callback)(void *user_data,
61 const char *filename, const struct appinfo *c);
62 void appinfo_foreach(struct appinfomgr *cf, appinfo_iter_callback cb, void *user_data);
64 #endif /* __AUL_AMD_APPINFO_H_ */