Files
onionHEN/source/daemon/include/app_lifecycle_runtime.hpp

22 lines
627 B
C++

/* Copyright (C) 2026 OnionHEN / LightningMods */
#pragma once
#include <cstdint>
#include <string_view>
#include <sys/types.h>
namespace onion::daemon::app_lifecycle {
/** Start the serial lifecycle dispatcher before the SceSysCore listener. */
bool start();
void stop();
/** Called by the SceSysCore kqueue listener after Big App identification. */
bool publish_big_app_started(pid_t pid, uint32_t app_id,
std::string_view title_id);
bool publish_big_app_exited(pid_t pid, uint32_t app_id,
std::string_view title_id);
} // namespace onion::daemon::app_lifecycle