int aul_notify_start(void);
/**
- * This API is only for Appfw internally.
- */
-int aul_send_startup_signal(void);
-
-/**
* This API is only for App Framework internally.
*/
const char *aul_app_status_convert_to_string(int status);
AUL_CTOR static void __aul_constructor(void)
{
g_rec_mutex_init(&__context.init_mutex);
- if (!getenv("AUL_FAST_LAUNCH") && getenv("AUL_APPID"))
- aul_send_startup_signal();
}
AUL_DTOR static void __aul_destructor(void)
.SendCmdOnly(AUL_SOCK_NOREPLY);
}
-extern "C" API int aul_send_startup_signal(void) {
- return AppRequest(APP_STARTUP_SIGNAL, getuid())
- .SendCmdOnly(AUL_SOCK_NOREPLY);
-}
-
extern "C" API const char* aul_app_status_convert_to_string(int status) {
switch (status) {
case STATUS_LAUNCHING: