#include "appcore_base.h"
#include "appcore_ui_base.h"
#include "appcore_ui_base_private.h"
+#include "appcore_ui_plugin.h"
enum app_state {
AS_NONE,
}
}
- if (!bg_state)
- __raise_win();
+ if (__context.hint & APPCORE_UI_BASE_HINT_WINDOW_AUTO_CONTROL) {
+ if (!bg_state)
+ __raise_win();
+ }
}
EXPORT_API int appcore_ui_base_on_receive(aul_type type, bundle *b)
int r;
bool is_vc_vt_automode = false;
+ appcore_ui_plugin_init(&ops, &hint);
aul_app_get_appid_bypid(getpid(), appid, sizeof(appid));
__context.ops = ops;
__context.data = data;
int r;
appcore_base_fini();
+ appcore_ui_plugin_fini();
if (__context.hshow)
ecore_event_handler_del(__context.hshow);