![]() |
Moonlight-XboxOG latest
Moonlight Xbox OG is a port of the Moonlight Game Streaming client to the original Xbox console.
|
Declares saved file loading and cleanup helpers. More...
#include <cstdint>#include <string>#include <vector>Go to the source code of this file.
Classes | |
| struct | startup::ListSavedFilesResult |
| Result of enumerating Moonlight-managed files on disk. More... | |
| struct | startup::SavedFileCatalogConfig |
| Optional path overrides used to inspect Moonlight-managed files. More... | |
| struct | startup::SavedFileEntry |
| Describes one Moonlight-managed file that exists on disk. More... | |
Functions | |
| bool | startup::delete_all_saved_files (std::string *errorMessage=nullptr, const SavedFileCatalogConfig &config={}) |
| Delete every Moonlight-managed saved file currently present on disk. | |
| bool | startup::delete_saved_file (const std::string &path, std::string *errorMessage=nullptr, const SavedFileCatalogConfig &config={}) |
| Delete one Moonlight-managed file. | |
| ListSavedFilesResult | startup::list_saved_files (const SavedFileCatalogConfig &config={}) |
| Enumerate Moonlight-managed files that currently exist on disk. | |
Declares saved file loading and cleanup helpers.
| bool startup::delete_all_saved_files | ( | std::string * | errorMessage = nullptr, |
| const SavedFileCatalogConfig & | config = {} ) |
Delete every Moonlight-managed saved file currently present on disk.
| errorMessage | Optional output for factory-reset failures. |
| config | Optional path overrides for tests or custom storage roots. |
| bool startup::delete_saved_file | ( | const std::string & | path, |
| std::string * | errorMessage = nullptr, | ||
| const SavedFileCatalogConfig & | config = {} ) |
Delete one Moonlight-managed file.
| path | Absolute or relative path returned by list_saved_files(). |
| errorMessage | Optional output for deletion failures. |
| config | Optional path overrides for tests or custom storage roots. |
| ListSavedFilesResult startup::list_saved_files | ( | const SavedFileCatalogConfig & | config = {} | ) |
Enumerate Moonlight-managed files that currently exist on disk.
| config | Optional path overrides for tests or custom storage roots. |