![]() |
Moonlight-XboxOG latest
Moonlight Xbox OG is a port of the Moonlight Game Streaming client to the original Xbox console.
|
Declares application settings persistence. More...
Go to the source code of this file.
Classes | |
| struct | app::AppSettings |
| Persisted Moonlight user settings stored in TOML. More... | |
| struct | app::LoadAppSettingsResult |
| Result of loading the persisted Moonlight settings file. More... | |
| struct | app::SaveAppSettingsResult |
| Result of saving the persisted Moonlight settings file. More... | |
Functions | |
| std::string | app::default_settings_path () |
| Return the default path used for the persisted Moonlight settings file. | |
| LoadAppSettingsResult | app::load_app_settings (const std::string &filePath=default_settings_path()) |
| Load the persisted Moonlight settings file. | |
| SaveAppSettingsResult | app::save_app_settings (const AppSettings &settings, const std::string &filePath=default_settings_path()) |
| Save the persisted Moonlight settings file. | |
Declares application settings persistence.
| std::string app::default_settings_path | ( | ) |
Return the default path used for the persisted Moonlight settings file.
| LoadAppSettingsResult app::load_app_settings | ( | const std::string & | filePath = default_settings_path() | ) |
Load the persisted Moonlight settings file.
| filePath | Settings file to read. |
| SaveAppSettingsResult app::save_app_settings | ( | const AppSettings & | settings, |
| const std::string & | filePath = default_settings_path() ) |
Save the persisted Moonlight settings file.
| settings | Settings snapshot to write. |
| filePath | Settings file to write. |