diff options
Diffstat (limited to 'src/yuzu/multiplayer/lobby.h')
| -rw-r--r-- | src/yuzu/multiplayer/lobby.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/yuzu/multiplayer/lobby.h b/src/yuzu/multiplayer/lobby.h index 2696aec21..300dad13e 100644 --- a/src/yuzu/multiplayer/lobby.h +++ b/src/yuzu/multiplayer/lobby.h | |||
| @@ -24,6 +24,10 @@ namespace Core { | |||
| 24 | class System; | 24 | class System; |
| 25 | } | 25 | } |
| 26 | 26 | ||
| 27 | namespace Service::Account { | ||
| 28 | class ProfileManager; | ||
| 29 | } | ||
| 30 | |||
| 27 | /** | 31 | /** |
| 28 | * Listing of all public games pulled from services. The lobby should be simple enough for users to | 32 | * Listing of all public games pulled from services. The lobby should be simple enough for users to |
| 29 | * find the game they want to play, and join it. | 33 | * find the game they want to play, and join it. |
| @@ -75,8 +79,11 @@ private slots: | |||
| 75 | 79 | ||
| 76 | signals: | 80 | signals: |
| 77 | void StateChanged(const Network::RoomMember::State&); | 81 | void StateChanged(const Network::RoomMember::State&); |
| 82 | void SaveConfig(); | ||
| 78 | 83 | ||
| 79 | private: | 84 | private: |
| 85 | std::string GetProfileUsername(); | ||
| 86 | |||
| 80 | /** | 87 | /** |
| 81 | * Removes all entries in the Lobby before refreshing. | 88 | * Removes all entries in the Lobby before refreshing. |
| 82 | */ | 89 | */ |
| @@ -96,6 +103,7 @@ private: | |||
| 96 | 103 | ||
| 97 | QFutureWatcher<AnnounceMultiplayerRoom::RoomList> room_list_watcher; | 104 | QFutureWatcher<AnnounceMultiplayerRoom::RoomList> room_list_watcher; |
| 98 | std::weak_ptr<Core::AnnounceMultiplayerSession> announce_multiplayer_session; | 105 | std::weak_ptr<Core::AnnounceMultiplayerSession> announce_multiplayer_session; |
| 106 | std::unique_ptr<Service::Account::ProfileManager> profile_manager; | ||
| 99 | QFutureWatcher<void>* watcher; | 107 | QFutureWatcher<void>* watcher; |
| 100 | Validation validation; | 108 | Validation validation; |
| 101 | Core::System& system; | 109 | Core::System& system; |