Port settings and automation to the Modern UI (by Codex)

This commit is contained in:
Codex committed 2026-10-25 21:36:18 +01:00
1 parent 8222926d9c
commit adb4166a80
26 files changed
+2734 -179

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
// SPDX-License-Identifier: GPL-3.0-only
#pragma once
#include "modern/ui/catalog.hpp"
namespace bmh::modern_ui {
Json default_ui_preferences();
bool valid_ui_preferences(const Json &);
Json legacy_ui_preferences(const Json &);
// A missing file is a normal first launch. Malformed files are reported and
// left intact; callers decide how to present the error without hiding it.
Json load_ui_preferences(const fs::path &);
void save_ui_preferences(const fs::path &, const Json &);
} // namespace bmh::modern_ui