Files
trail-mate/modules/ui_shared/include/ui/startup_ui_shell.h
T
Trail Mate Dev 6e613e382e Add CM0 Linux support and share device services across platforms
Compose the CM0 fullscreen application and standard Debian package, align the
Cardputer Zero shell, and share protocol, configuration, audio and storage
services with embedded targets through existing platform seams.

Add the paginated on-device TMAP creator using Center's published producer,
private workspace recovery and direct keyboard shortcuts. Preserve unfinished
management work behind its existing opt-in capability.

Include native, ARM and shared-core regression fixtures, integration records,
packaging helpers and dependency/license updates. Keep local build trees,
device credentials, produced packages and validation logs outside version control.

Validation before integration: ESP stack hygiene, Reticulum scope guard, staged
whitespace checks and GitNexus scope audit. Prior device/build evidence and
remaining hardware/package boundaries are recorded in the acceptance documents.
2026-10-29 10:29:29 +08:00

26 lines
619 B
C++

#pragma once
#include <cstdint>
#include "ui/app_catalog.h"
namespace ui::startup_ui_shell
{
struct Hooks
{
AppCatalog apps{};
const char* ux_pack_id = nullptr;
bool (*lock_ui)(uint32_t timeout_ms) = nullptr;
void (*unlock_ui)() = nullptr;
uint32_t lock_timeout_ms = 1000;
uint32_t status_refresh_interval_ms = 60000;
};
bool beginBootUi(const Hooks& hooks, bool waking_from_sleep, const char* initial_line);
void prepareBootResources();
bool initializeMenuSkeleton(const Hooks& hooks);
bool finalizeStartup(const Hooks& hooks, bool waking_from_sleep);
} // namespace ui::startup_ui_shell