mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-07-01 09:31:41 +00:00
bf7068b02b
* refactor: render chat rows from presentation state * Fix Meshtastic channel sync and add MeshCore CN preset * Add granular chat notification settings * Add SD settings backup and restore * Prepare 0.1.26-alpha release --------- Co-authored-by: vicliu624 <vicliu@outlook.com>
24 lines
517 B
C++
24 lines
517 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;
|
|
};
|
|
|
|
bool prepareBootUi(const Hooks& hooks, bool waking_from_sleep);
|
|
bool initializeMenuSkeleton(const Hooks& hooks);
|
|
bool finalizeStartup(const Hooks& hooks, bool waking_from_sleep);
|
|
|
|
} // namespace ui::startup_ui_shell
|