summaryrefslogtreecommitdiffstats
path: root/src/yuzu/game_list.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-08-28 00:41:42 +0200
committerLiam <byteslice@airmail.cc>2023-08-28 01:45:25 +0200
commit667ec286970560d3a5b12b987010082657aec7c3 (patch)
treec03a8e4279fe4d6a1e74896f727b75f9b13e9c45 /src/yuzu/game_list.h
parentyuzu-qt: Track play time (diff)
downloadyuzu-667ec286970560d3a5b12b987010082657aec7c3.tar
yuzu-667ec286970560d3a5b12b987010082657aec7c3.tar.gz
yuzu-667ec286970560d3a5b12b987010082657aec7c3.tar.bz2
yuzu-667ec286970560d3a5b12b987010082657aec7c3.tar.lz
yuzu-667ec286970560d3a5b12b987010082657aec7c3.tar.xz
yuzu-667ec286970560d3a5b12b987010082657aec7c3.tar.zst
yuzu-667ec286970560d3a5b12b987010082657aec7c3.zip
Diffstat (limited to 'src/yuzu/game_list.h')
-rw-r--r--src/yuzu/game_list.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/yuzu/game_list.h b/src/yuzu/game_list.h
index cde6f1e1f..6e8382c0f 100644
--- a/src/yuzu/game_list.h
+++ b/src/yuzu/game_list.h
@@ -18,6 +18,7 @@
#include "core/core.h"
#include "uisettings.h"
#include "yuzu/compatibility_list.h"
+#include "yuzu/play_time_manager.h"
namespace Core {
class System;
@@ -79,7 +80,8 @@ public:
};
explicit GameList(std::shared_ptr<FileSys::VfsFilesystem> vfs_,
- FileSys::ManualContentProvider* provider_, Core::System& system_,
+ FileSys::ManualContentProvider* provider_,
+ PlayTime::PlayTimeManager& play_time_manager_, Core::System& system_,
GMainWindow* parent = nullptr);
~GameList() override;
@@ -168,6 +170,7 @@ private:
friend class GameListSearchField;
+ const PlayTime::PlayTimeManager& play_time_manager;
Core::System& system;
};