diff options
author | fearlessTobi <thm.frey@gmail.com> | 2018-08-29 15:42:53 +0200 |
---|---|---|
committer | fearlessTobi <thm.frey@gmail.com> | 2018-08-29 15:42:53 +0200 |
commit | 78653f73398b98071fe9bb4b4a32ec68f674ccfd (patch) | |
tree | bb6ba70e7bad5a53cb9655787ec8ebaf5495285f /src/yuzu/game_list.h | |
parent | 0d2435343a2acf114430a662192eb22470b53d62 (diff) |
Show game compatibility within yuzu
Diffstat (limited to 'src/yuzu/game_list.h')
-rw-r--r-- | src/yuzu/game_list.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/yuzu/game_list.h b/src/yuzu/game_list.h index 20252e778..c01351dc9 100644 --- a/src/yuzu/game_list.h +++ b/src/yuzu/game_list.h @@ -29,6 +29,7 @@ class GameList : public QWidget { public: enum { COLUMN_NAME, + COLUMN_COMPATIBILITY, COLUMN_FILE_TYPE, COLUMN_SIZE, COLUMN_COUNT, // Number of columns @@ -68,6 +69,7 @@ public: void setFilterFocus(); void setFilterVisible(bool visibility); + void LoadCompatibilityList(); void PopulateAsync(const QString& dir_path, bool deep_scan); void SaveInterfaceLayout(); @@ -79,6 +81,9 @@ signals: void GameChosen(QString game_path); void ShouldCancelWorker(); void OpenFolderRequested(u64 program_id, GameListOpenTarget target); + void NavigateToGamedbEntryRequested( + u64 program_id, + std::unordered_map<std::string, std::pair<QString, QString>>& compatibility_list); private slots: void onTextChanged(const QString& newText); @@ -100,6 +105,7 @@ private: QStandardItemModel* item_model = nullptr; GameListWorker* current_worker = nullptr; QFileSystemWatcher* watcher = nullptr; + std::unordered_map<std::string, std::pair<QString, QString>> compatibility_list; }; Q_DECLARE_METATYPE(GameListOpenTarget); |