aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/multiplayer/host_room.h
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2022-07-22 16:31:13 +0200
committerFearlessTobi <thm.frey@gmail.com>2022-07-25 21:59:31 +0200
commit7d82e57b91dee30e0fe6fed36550ea7cc9eb778e (patch)
tree4a58f4874083783026dabc0de6a7fb09195cf95b /src/yuzu/multiplayer/host_room.h
parent899c8bb33094f43fbd8df9afb4ca84718ebac87e (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/host_room.h')
-rw-r--r--src/yuzu/multiplayer/host_room.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/yuzu/multiplayer/host_room.h b/src/yuzu/multiplayer/host_room.h
index d84f93ffd..98a56458f 100644
--- a/src/yuzu/multiplayer/host_room.h
+++ b/src/yuzu/multiplayer/host_room.h
@@ -35,7 +35,8 @@ class HostRoomWindow : public QDialog {
public:
explicit HostRoomWindow(QWidget* parent, QStandardItemModel* list,
- std::shared_ptr<Core::AnnounceMultiplayerSession> session);
+ std::shared_ptr<Core::AnnounceMultiplayerSession> session,
+ Network::RoomNetwork& room_network_);
~HostRoomWindow();
/**
@@ -54,6 +55,7 @@ private:
QStandardItemModel* game_list;
ComboBoxProxyModel* proxy;
Validation validation;
+ Network::RoomNetwork& room_network;
};
/**