|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
Progress information during snapshot operations. More...
#include <prefix_snapshot_service.h>
Public Types | |
| enum class | State { Starting , Scanning , Copying , Compressing , Completed , Failed , Cancelled } |
Public Member Functions | |
| std::string | getStateStr () const |
Public Attributes | |
| int64_t | bytesProcessed = 0 |
| std::string | currentFile |
| std::string | errorMessage |
| int | filesProcessed = 0 |
| int | percentComplete = 0 |
| State | state = State::Starting |
| int64_t | totalBytes = 0 |
| int | totalFiles = 0 |
Progress information during snapshot operations.
Definition at line 69 of file prefix_snapshot_service.h.
|
strong |
| Enumerator | |
|---|---|
| Starting | |
| Scanning | |
| Copying | |
| Compressing | |
| Completed | |
| Failed | |
| Cancelled | |
Definition at line 71 of file prefix_snapshot_service.h.
| std::string SnapshotProgress::getStateStr | ( | ) | const |
Definition at line 55 of file prefix_snapshot_service.cpp.
References Cancelled, Completed, Compressing, Copying, Failed, Scanning, Starting, and state.
| int64_t SnapshotProgress::bytesProcessed = 0 |
Definition at line 86 of file prefix_snapshot_service.h.
| std::string SnapshotProgress::currentFile |
Definition at line 83 of file prefix_snapshot_service.h.
| std::string SnapshotProgress::errorMessage |
Definition at line 89 of file prefix_snapshot_service.h.
Referenced by PrefixSnapshotService::createSnapshot(), and PrefixSnapshotService::restoreSnapshot().
| int SnapshotProgress::filesProcessed = 0 |
Definition at line 84 of file prefix_snapshot_service.h.
| int SnapshotProgress::percentComplete = 0 |
Definition at line 88 of file prefix_snapshot_service.h.
Referenced by PrefixSnapshotService::createSnapshot(), and PrefixSnapshotService::restoreSnapshot().
| State SnapshotProgress::state = State::Starting |
Definition at line 82 of file prefix_snapshot_service.h.
Referenced by PrefixSnapshotService::createSnapshot(), getStateStr(), and PrefixSnapshotService::restoreSnapshot().
| int64_t SnapshotProgress::totalBytes = 0 |
Definition at line 87 of file prefix_snapshot_service.h.
| int SnapshotProgress::totalFiles = 0 |
Definition at line 85 of file prefix_snapshot_service.h.