|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
Unified structure for all importable games. More...
#include <gameimportdialog.h>
Public Types | |
| enum class | SourceType { Steam , Lutris , Bottles , HeroicEpic , HeroicGOG , Legendary , Native , WinePrefix } |
Public Member Functions | |
| QString | getUniqueId () const |
| Game | toGame () const |
Public Attributes | |
| bool | alreadyImported = false |
| QString | existingGameId |
| bool | isInstalled = true |
| QString | name |
| QString | path |
| QString | runner |
| std::shared_ptr< ScannedGame > | scannedGame |
| uint64_t | sizeBytes = 0 |
| QString | sourceIcon |
| QString | sourceName |
| SourceType | sourceType |
| std::shared_ptr< SteamGame > | steamGame |
Unified structure for all importable games.
Wraps either a SteamGame or ScannedGame with common interface
Definition at line 79 of file gameimportdialog.h.
|
strong |
| Enumerator | |
|---|---|
| Steam | |
| Lutris | |
| Bottles | |
| HeroicEpic | |
| HeroicGOG | |
| Legendary | |
| Native | |
| WinePrefix | |
Definition at line 81 of file gameimportdialog.h.
| QString ImportableGame::getUniqueId | ( | ) | const |
Definition at line 98 of file gameimportdialog.cpp.
References scannedGame, and steamGame.
| Game ImportableGame::toGame | ( | ) | const |
Definition at line 85 of file gameimportdialog.cpp.
References Game, scannedGame, and steamGame.
| bool ImportableGame::alreadyImported = false |
Definition at line 101 of file gameimportdialog.h.
| QString ImportableGame::existingGameId |
Definition at line 102 of file gameimportdialog.h.
| bool ImportableGame::isInstalled = true |
Definition at line 100 of file gameimportdialog.h.
| QString ImportableGame::name |
Definition at line 93 of file gameimportdialog.h.
| QString ImportableGame::path |
Definition at line 98 of file gameimportdialog.h.
| QString ImportableGame::runner |
Definition at line 97 of file gameimportdialog.h.
| std::shared_ptr<ScannedGame> ImportableGame::scannedGame |
Definition at line 106 of file gameimportdialog.h.
Referenced by getUniqueId(), and toGame().
| uint64_t ImportableGame::sizeBytes = 0 |
Definition at line 99 of file gameimportdialog.h.
| QString ImportableGame::sourceIcon |
Definition at line 96 of file gameimportdialog.h.
| QString ImportableGame::sourceName |
Definition at line 95 of file gameimportdialog.h.
| SourceType ImportableGame::sourceType |
Definition at line 94 of file gameimportdialog.h.
| std::shared_ptr<SteamGame> ImportableGame::steamGame |
Definition at line 105 of file gameimportdialog.h.
Referenced by getUniqueId(), and toGame().