void (*lower)(int type, void *event, void *data);
void (*visibility)(int type, void *event, void *data);
void (*pre_visibility)(int type, void *event, void *data);
+ void (*aux_message)(int type, void *event, void *data);
} appcore_ui_base_window_ops;
typedef struct _appcore_ui_base_ops {
APPCORE_UI_BASE_HINT_BG_LAUNCH_CONTROL = 0x4,
APPCORE_UI_BASE_HINT_HW_ACC_CONTROL = 0x8,
APPCORE_UI_BASE_HINT_WINDOW_AUTO_CONTROL = 0x10,
+ APPCORE_UI_BASE_HINT_LEGACY_CONTROL = 0x20,
};
int appcore_ui_base_on_receive(aul_type type, bundle *b);
int appcore_ui_base_on_pause(void);
int appcore_ui_base_on_resume(void);
int appcore_ui_base_on_control(bundle *b);
+int appcore_ui_base_on_trim_memory(void);
void appcore_ui_base_window_on_show(int type, void *event);
void appcore_ui_base_window_on_hide(int type, void *event);
void appcore_ui_base_window_on_lower(int type, void *event);
void appcore_ui_base_window_on_visibility(int type, void *event);
void appcore_ui_base_window_on_pre_visibility(int type, void *event);
+void appcore_ui_base_window_on_aux_message(int type, void *event);
int appcore_ui_base_init(appcore_ui_base_ops ops, int argc, char **argv,
void *data, unsigned int hint);
void appcore_ui_base_fini(void);
void appcore_ui_base_resume(void);
bool appcore_ui_base_is_resumed(void);
void appcore_ui_base_exit(void);
-void appcore_ui_base_group_add();
+int appcore_ui_base_group_add();
void appcore_ui_base_group_remove();
unsigned int appcore_ui_base_get_main_window(void);
unsigned int appcore_ui_base_get_main_surface(void);
int appcore_ui_base_get_hint(void);
+bool appcore_ui_base_get_bg_state(void);
+void appcore_ui_base_set_bg_state(bool bg_state);
+void appcore_ui_base_set_system_resource_reclaiming(bool enable);
#ifdef __cplusplus
}