|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
Progress information for GOG operations. More...
#include <gog_integration.h>
Public Types | |
| enum class | State { Starting , Downloading , Verifying , Installing , Completed , Failed , Cancelled } |
Public Member Functions | |
| std::string | getStateStr () const |
Public Attributes | |
| int64_t | bytesDownloaded = 0 |
| int64_t | bytesTotal = 0 |
| std::string | currentFile |
| float | downloadSpeed = 0.0f |
| std::string | errorMessage |
| int | percentComplete = 0 |
| State | state = State::Starting |
Progress information for GOG operations.
Definition at line 102 of file gog_integration.h.
|
strong |
| Enumerator | |
|---|---|
| Starting | |
| Downloading | |
| Verifying | |
| Installing | |
| Completed | |
| Failed | |
| Cancelled | |
Definition at line 104 of file gog_integration.h.
| std::string GOGProgress::getStateStr | ( | ) | const |
Definition at line 49 of file gog_integration.cpp.
References Cancelled, Completed, Downloading, Failed, Installing, Starting, state, and Verifying.
| int64_t GOGProgress::bytesDownloaded = 0 |
Definition at line 117 of file gog_integration.h.
| int64_t GOGProgress::bytesTotal = 0 |
Definition at line 118 of file gog_integration.h.
| std::string GOGProgress::currentFile |
Definition at line 116 of file gog_integration.h.
| float GOGProgress::downloadSpeed = 0.0f |
Definition at line 120 of file gog_integration.h.
| std::string GOGProgress::errorMessage |
Definition at line 121 of file gog_integration.h.
| int GOGProgress::percentComplete = 0 |
Definition at line 119 of file gog_integration.h.
| State GOGProgress::state = State::Starting |
Definition at line 115 of file gog_integration.h.
Referenced by getStateStr().