|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
Information about a saved prefix snapshot. More...
#include <prefix_snapshot_service.h>
Public Member Functions | |
| std::string | getFormattedDate () const |
| std::string | getFormattedSize () const |
Public Attributes | |
| std::string | architecture |
| win32 or win64 | |
| std::chrono::system_clock::time_point | created |
| std::string | description |
| Optional description. | |
| int | fileCount = 0 |
| Number of files in snapshot. | |
| std::string | gameId |
| Associated game ID (if any). | |
| std::string | gameName |
| Associated game name. | |
| std::string | id |
| Unique snapshot ID. | |
| bool | isIncremental = false |
| Whether this is incremental. | |
| std::string | name |
| User-friendly name. | |
| std::string | parentSnapshotId |
| Parent snapshot for incremental. | |
| std::filesystem::path | prefixPath |
| Original prefix path. | |
| int64_t | sizeBytes = 0 |
| Snapshot size on disk. | |
| std::filesystem::path | snapshotPath |
| Where snapshot is stored. | |
| std::string | wineVersion |
| Wine/Proton version at snapshot time. | |
Information about a saved prefix snapshot.
Definition at line 42 of file prefix_snapshot_service.h.
| std::string PrefixSnapshot::getFormattedDate | ( | ) | const |
Definition at line 45 of file prefix_snapshot_service.cpp.
References created.
| std::string PrefixSnapshot::getFormattedSize | ( | ) | const |
Definition at line 34 of file prefix_snapshot_service.cpp.
References sizeBytes.
Referenced by PrefixSnapshotService::createSnapshot().
| std::string PrefixSnapshot::architecture |
win32 or win64
Definition at line 59 of file prefix_snapshot_service.h.
Referenced by PrefixSnapshotService::createSnapshot().
| std::chrono::system_clock::time_point PrefixSnapshot::created |
Definition at line 49 of file prefix_snapshot_service.h.
Referenced by PrefixSnapshotService::cleanupOldAutoSnapshots(), PrefixSnapshotService::createSnapshot(), getFormattedDate(), and PrefixSnapshotService::importSnapshot().
| std::string PrefixSnapshot::description |
Optional description.
Definition at line 46 of file prefix_snapshot_service.h.
Referenced by PrefixSnapshotService::createSnapshot().
| int PrefixSnapshot::fileCount = 0 |
Number of files in snapshot.
Definition at line 51 of file prefix_snapshot_service.h.
Referenced by PrefixSnapshotService::createSnapshot(), and PrefixSnapshotService::importSnapshot().
| std::string PrefixSnapshot::gameId |
Associated game ID (if any).
Definition at line 54 of file prefix_snapshot_service.h.
Referenced by PrefixSnapshotService::cleanupOldAutoSnapshots(), and PrefixSnapshotService::getSnapshotsForGame().
| std::string PrefixSnapshot::gameName |
Associated game name.
Definition at line 55 of file prefix_snapshot_service.h.
| std::string PrefixSnapshot::id |
Unique snapshot ID.
Definition at line 44 of file prefix_snapshot_service.h.
Referenced by PrefixSnapshotService::cleanupOldAutoSnapshots(), PrefixSnapshotService::createSnapshot(), and PrefixSnapshotService::importSnapshot().
| bool PrefixSnapshot::isIncremental = false |
Whether this is incremental.
Definition at line 52 of file prefix_snapshot_service.h.
| std::string PrefixSnapshot::name |
User-friendly name.
Definition at line 45 of file prefix_snapshot_service.h.
Referenced by PrefixSnapshotService::createSnapshot(), and PrefixSnapshotService::importSnapshot().
| std::string PrefixSnapshot::parentSnapshotId |
Parent snapshot for incremental.
Definition at line 53 of file prefix_snapshot_service.h.
| std::filesystem::path PrefixSnapshot::prefixPath |
Original prefix path.
Definition at line 47 of file prefix_snapshot_service.h.
Referenced by PrefixSnapshotService::cleanupOldSnapshots(), PrefixSnapshotService::createSnapshot(), PrefixSnapshotService::deleteSnapshotsForPrefix(), and PrefixSnapshotService::getSnapshotsForPrefix().
| int64_t PrefixSnapshot::sizeBytes = 0 |
Snapshot size on disk.
Definition at line 50 of file prefix_snapshot_service.h.
Referenced by PrefixSnapshotService::createSnapshot(), getFormattedSize(), PrefixSnapshotService::getTotalSnapshotSize(), and PrefixSnapshotService::importSnapshot().
| std::filesystem::path PrefixSnapshot::snapshotPath |
Where snapshot is stored.
Definition at line 48 of file prefix_snapshot_service.h.
Referenced by PrefixSnapshotService::compareWithCurrent(), PrefixSnapshotService::createSnapshot(), PrefixSnapshotService::exportSnapshot(), PrefixSnapshotService::importSnapshot(), and PrefixSnapshotService::listSnapshotFiles().
| std::string PrefixSnapshot::wineVersion |
Wine/Proton version at snapshot time.
Definition at line 58 of file prefix_snapshot_service.h.
Referenced by PrefixSnapshotService::createSnapshot().