diff options
| author | FearlessTobi <thm.frey@gmail.com> | 2022-07-22 16:31:13 +0200 |
|---|---|---|
| committer | FearlessTobi <thm.frey@gmail.com> | 2022-07-25 21:59:31 +0200 |
| commit | 7d82e57b91dee30e0fe6fed36550ea7cc9eb778e (patch) | |
| tree | 4a58f4874083783026dabc0de6a7fb09195cf95b /src/yuzu/multiplayer/chat_room.h | |
| parent | 899c8bb33094f43fbd8df9afb4ca84718ebac87e (diff) | |
network: Move global state into a seperate class
Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
Diffstat (limited to 'src/yuzu/multiplayer/chat_room.h')
| -rw-r--r-- | src/yuzu/multiplayer/chat_room.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/multiplayer/chat_room.h b/src/yuzu/multiplayer/chat_room.h index a810377f7..9179d16fb 100644 --- a/src/yuzu/multiplayer/chat_room.h +++ b/src/yuzu/multiplayer/chat_room.h @@ -30,6 +30,7 @@ class ChatRoom : public QWidget { public: explicit ChatRoom(QWidget* parent); + void Initialize(Network::RoomNetwork* room_network); void RetranslateUi(); void SetPlayerList(const Network::RoomMember::MemberList& member_list); void Clear(); @@ -65,6 +66,7 @@ private: std::unique_ptr<Ui::ChatRoom> ui; std::unordered_set<std::string> block_list; std::unordered_map<std::string, QPixmap> icon_cache; + Network::RoomNetwork* room_network; }; Q_DECLARE_METATYPE(Network::ChatEntry); |
