mirror of
https://github.com/aydencharles/onionHEN.git
synced 2026-10-22 11:53:07 -05:00
22 lines
627 B
C++
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
|