Change return value type of the appcore_ui_base_group_add function
[platform/core/appfw/app-core.git] / include / appcore_ui_base.h
index dc9d615..1eddefa 100644 (file)
@@ -26,6 +26,8 @@ typedef struct _appcore_ui_base_window_ops {
        void (*hide)(int type, void *event, void *data);
        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 {
@@ -44,6 +46,8 @@ enum appcore_ui_base_hint {
        APPCORE_UI_BASE_HINT_WINDOW_STACK_CONTROL = 0x2,
        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);
@@ -52,10 +56,13 @@ int appcore_ui_base_on_terminate(void);
 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);
@@ -64,6 +71,14 @@ void appcore_ui_base_pause(void);
 void appcore_ui_base_resume(void);
 bool appcore_ui_base_is_resumed(void);
 void appcore_ui_base_exit(void);
+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
 }