Move app launching log from app-core to amd
[platform/core/appfw/app-core.git] / include / appcore_ui_base.h
index dc9d615..83f648d 100644 (file)
@@ -26,6 +26,7 @@ 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);
 } appcore_ui_base_window_ops;
 
 typedef struct _appcore_ui_base_ops {
@@ -44,6 +45,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);
@@ -56,6 +59,7 @@ 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);
 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 +68,13 @@ 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);
+void 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);
 
 #ifdef __cplusplus
 }