mirror of
https://github.com/PabloMK7/citra.git
synced 2024-12-14 16:52:58 +01:00
37 lines
790 B
C++
37 lines
790 B
C++
// Copyright 2017 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include "citra_qt/multiplayer/chat_room.h"
|
|
|
|
namespace Ui {
|
|
class ClientRoom;
|
|
}
|
|
|
|
class ClientRoomWindow : public QDialog {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ClientRoomWindow(QWidget* parent);
|
|
~ClientRoomWindow();
|
|
|
|
void RetranslateUi();
|
|
|
|
public slots:
|
|
void OnRoomUpdate(const Network::RoomInformation&);
|
|
void OnStateChange(const Network::RoomMember::State&);
|
|
|
|
signals:
|
|
void RoomInformationChanged(const Network::RoomInformation&);
|
|
void StateChanged(const Network::RoomMember::State&);
|
|
|
|
private:
|
|
void Disconnect();
|
|
void UpdateView();
|
|
|
|
QStandardItemModel* player_list;
|
|
std::unique_ptr<Ui::ClientRoom> ui;
|
|
};
|