mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-16 01:47:01 +02:00
network: Move global state into a seperate class
Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
This commit is contained in:
parent
3a91e22e80
commit
10e2c8ef6a
21 changed files with 152 additions and 98 deletions
|
|
@ -20,7 +20,7 @@ class ModerationDialog : public QDialog {
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ModerationDialog(QWidget* parent = nullptr);
|
||||
explicit ModerationDialog(Network::RoomNetwork& room_network_, QWidget* parent = nullptr);
|
||||
~ModerationDialog();
|
||||
|
||||
signals:
|
||||
|
|
@ -37,6 +37,8 @@ private:
|
|||
QStandardItemModel* model;
|
||||
Network::RoomMember::CallbackHandle<Network::StatusMessageEntry> callback_handle_status_message;
|
||||
Network::RoomMember::CallbackHandle<Network::Room::BanList> callback_handle_ban_list;
|
||||
|
||||
Network::RoomNetwork& room_network;
|
||||
};
|
||||
|
||||
Q_DECLARE_METATYPE(Network::Room::BanList);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue