|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
#include <chrono>#include <filesystem>#include <functional>#include <future>#include <memory>#include <optional>#include <string>#include <vector>Go to the source code of this file.
Classes | |
| class | CloudSaveService |
| Service for managing and syncing game saves. More... | |
| struct | SaveFile |
| Information about a specific save file. More... | |
| struct | SaveLocation |
| Information about a game's save location. More... | |
| struct | SaveSnapshot |
| A complete snapshot of a game's saves at a point in time. More... | |
| struct | SyncConflict |
| Details about a sync conflict. More... | |
| struct | SyncStatus |
| Status of sync operation. More... | |
Enumerations | |
| enum class | CloudBackend { None , Steam , GOG , Custom } |
| Supported cloud storage backends. More... | |
| enum class | ConflictResolution { UseLocal , UseRemote , UseNewest , AskUser , KeepBoth } |
| How to resolve sync conflicts. More... | |
| enum class | SyncDirection { Upload , Download , Bidirectional } |
| Direction of sync operation. More... | |
Functions | |
| std::string | cloudBackendName (CloudBackend backend) |
| Get human-readable backend name. | |
| std::string | syncDirectionName (SyncDirection direction) |
| Get human-readable sync direction name. | |
|
strong |
Supported cloud storage backends.
| Enumerator | |
|---|---|
| None | Local backup only. |
| Steam | Steam Cloud. |
| GOG | GOG Galaxy Cloud. |
| Custom | Custom sync location (e.g., Syncthing, Nextcloud). |
Definition at line 40 of file cloud_save_service.h.
|
strong |
How to resolve sync conflicts.
| Enumerator | |
|---|---|
| UseLocal | Keep local version. |
| UseRemote | Keep remote version. |
| UseNewest | Use whichever is newer. |
| AskUser | Prompt user to choose. |
| KeepBoth | Keep both versions (create backup). |
Definition at line 63 of file cloud_save_service.h.
|
strong |
Direction of sync operation.
| Enumerator | |
|---|---|
| Upload | Local -> Cloud. |
| Download | Cloud -> Local. |
| Bidirectional | Two-way sync. |
Definition at line 52 of file cloud_save_service.h.
| std::string cloudBackendName | ( | CloudBackend | backend | ) |
| std::string syncDirectionName | ( | SyncDirection | direction | ) |
Get human-readable sync direction name.
Definition at line 284 of file cloud_save_service.cpp.
References Bidirectional, Download, and Upload.