/** @file src/config_steam.h */ #pragma once #include "config_playnite.h" #include #include #include namespace config { struct steam_t { bool enabled = false; bool auto_sync = false; bool sync_all_installed = false; int recent_games = 10; int recent_max_age_days = 30; bool autosync_remove_uninstalled = true; // Compatibility/runtime manifests are excluded by default. This opt-in // exists for users who intentionally expose Steam tools in their catalog. bool include_tools = false; std::vector exclude_games; std::vector exclude_games_meta; }; extern steam_t steam; // Parse provider settings without changing global state. steam_t parse_steam(std::unordered_map &vars); void apply_steam(std::unordered_map &vars); steam_t normalize_steam_policy(steam_t value, bool linux_host); } // namespace config