// 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