From b5a0695783163b3bf4416584e922074f84e6171d Mon Sep 17 00:00:00 2001 From: collecting Date: Sat, 4 Oct 2025 04:12:57 +0000 Subject: [PATCH] Edit game_list.h --- src/citron/game_list.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/citron/game_list.h b/src/citron/game_list.h index f78937d83..781cd9489 100644 --- a/src/citron/game_list.h +++ b/src/citron/game_list.h @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -23,7 +24,7 @@ #include "citron/play_time_manager.h" namespace Core { -class System; + class System; } class ControllerNavigation; @@ -35,8 +36,8 @@ enum class AmLaunchType; enum class StartGameType; namespace FileSys { -class ManualContentProvider; -class VfsFilesystem; + class ManualContentProvider; + class VfsFilesystem; } // namespace FileSys enum class GameListOpenTarget { @@ -79,6 +80,7 @@ public: COLUMN_FILE_TYPE, COLUMN_SIZE, COLUMN_PLAY_TIME, + COLUMN_ONLINE, COLUMN_COUNT, // Number of columns }; @@ -139,6 +141,7 @@ private slots: void OnTextChanged(const QString& new_text); void OnFilterCloseClicked(); void OnUpdateThemedIcons(); + void UpdateOnlineStatus(); private: friend class GameListWorker; @@ -183,6 +186,7 @@ private: QFileSystemWatcher* watcher = nullptr; ControllerNavigation* controller_navigation = nullptr; CompatibilityList compatibility_list; + QTimer* online_status_timer; friend class GameListSearchField;