Fix compilation issue where unique_ptr needs full class declaration
This commit is contained in:
parent
c635c7f40d
commit
01b49b7e78
|
@ -16,7 +16,6 @@
|
||||||
#include "citra_qt/multiplayer/message.h"
|
#include "citra_qt/multiplayer/message.h"
|
||||||
#include "common/logging/log.h"
|
#include "common/logging/log.h"
|
||||||
#include "core/announce_multiplayer_session.h"
|
#include "core/announce_multiplayer_session.h"
|
||||||
#include "ui_chat_room.h"
|
|
||||||
|
|
||||||
class ChatMessage {
|
class ChatMessage {
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -10,10 +10,7 @@
|
||||||
#include <QStandardItemModel>
|
#include <QStandardItemModel>
|
||||||
#include <QVariant>
|
#include <QVariant>
|
||||||
#include "network/network.h"
|
#include "network/network.h"
|
||||||
|
#include "ui_chat_room.h"
|
||||||
namespace Ui {
|
|
||||||
class ChatRoom;
|
|
||||||
} // namespace Ui
|
|
||||||
|
|
||||||
namespace Core {
|
namespace Core {
|
||||||
class AnnounceMultiplayerSession;
|
class AnnounceMultiplayerSession;
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
#include "citra_qt/multiplayer/message.h"
|
#include "citra_qt/multiplayer/message.h"
|
||||||
#include "common/logging/log.h"
|
#include "common/logging/log.h"
|
||||||
#include "core/announce_multiplayer_session.h"
|
#include "core/announce_multiplayer_session.h"
|
||||||
#include "ui_client_room.h"
|
|
||||||
|
|
||||||
ClientRoomWindow::ClientRoomWindow(QWidget* parent)
|
ClientRoomWindow::ClientRoomWindow(QWidget* parent)
|
||||||
: QDialog(parent, Qt::WindowTitleHint | Qt::WindowCloseButtonHint | Qt::WindowSystemMenuHint),
|
: QDialog(parent, Qt::WindowTitleHint | Qt::WindowCloseButtonHint | Qt::WindowSystemMenuHint),
|
||||||
|
|
|
@ -5,10 +5,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "citra_qt/multiplayer/chat_room.h"
|
#include "citra_qt/multiplayer/chat_room.h"
|
||||||
|
#include "ui_client_room.h"
|
||||||
namespace Ui {
|
|
||||||
class ClientRoom;
|
|
||||||
}
|
|
||||||
|
|
||||||
class ClientRoomWindow : public QDialog {
|
class ClientRoomWindow : public QDialog {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
#include "citra_qt/ui_settings.h"
|
#include "citra_qt/ui_settings.h"
|
||||||
#include "core/settings.h"
|
#include "core/settings.h"
|
||||||
#include "network/network.h"
|
#include "network/network.h"
|
||||||
#include "ui_direct_connect.h"
|
|
||||||
|
|
||||||
enum class ConnectionType : u8 { TraversalServer, IP };
|
enum class ConnectionType : u8 { TraversalServer, IP };
|
||||||
|
|
||||||
|
|
|
@ -7,10 +7,7 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
#include <QFutureWatcher>
|
#include <QFutureWatcher>
|
||||||
|
#include "ui_direct_connect.h"
|
||||||
namespace Ui {
|
|
||||||
class DirectConnect;
|
|
||||||
}
|
|
||||||
|
|
||||||
class DirectConnectWindow : public QDialog {
|
class DirectConnectWindow : public QDialog {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
|
@ -20,8 +20,6 @@
|
||||||
#include "common/logging/log.h"
|
#include "common/logging/log.h"
|
||||||
#include "core/announce_multiplayer_session.h"
|
#include "core/announce_multiplayer_session.h"
|
||||||
#include "core/settings.h"
|
#include "core/settings.h"
|
||||||
#include "ui_chat_room.h"
|
|
||||||
#include "ui_host_room.h"
|
|
||||||
|
|
||||||
HostRoomWindow::HostRoomWindow(QWidget* parent, QStandardItemModel* list,
|
HostRoomWindow::HostRoomWindow(QWidget* parent, QStandardItemModel* list,
|
||||||
std::shared_ptr<Core::AnnounceMultiplayerSession> session)
|
std::shared_ptr<Core::AnnounceMultiplayerSession> session)
|
||||||
|
|
|
@ -11,10 +11,7 @@
|
||||||
#include <QVariant>
|
#include <QVariant>
|
||||||
#include "citra_qt/multiplayer/chat_room.h"
|
#include "citra_qt/multiplayer/chat_room.h"
|
||||||
#include "network/network.h"
|
#include "network/network.h"
|
||||||
|
#include "ui_host_room.h"
|
||||||
namespace Ui {
|
|
||||||
class HostRoom;
|
|
||||||
} // namespace Ui
|
|
||||||
|
|
||||||
namespace Core {
|
namespace Core {
|
||||||
class AnnounceMultiplayerSession;
|
class AnnounceMultiplayerSession;
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
#include "common/logging/log.h"
|
#include "common/logging/log.h"
|
||||||
#include "core/settings.h"
|
#include "core/settings.h"
|
||||||
#include "network/network.h"
|
#include "network/network.h"
|
||||||
#include "ui_lobby.h"
|
|
||||||
|
|
||||||
Lobby::Lobby(QWidget* parent, QStandardItemModel* list,
|
Lobby::Lobby(QWidget* parent, QStandardItemModel* list,
|
||||||
std::shared_ptr<Core::AnnounceMultiplayerSession> session)
|
std::shared_ptr<Core::AnnounceMultiplayerSession> session)
|
||||||
|
|
|
@ -13,10 +13,7 @@
|
||||||
#include "common/announce_multiplayer_room.h"
|
#include "common/announce_multiplayer_room.h"
|
||||||
#include "core/announce_multiplayer_session.h"
|
#include "core/announce_multiplayer_session.h"
|
||||||
#include "network/network.h"
|
#include "network/network.h"
|
||||||
|
#include "ui_lobby.h"
|
||||||
namespace Ui {
|
|
||||||
class Lobby;
|
|
||||||
}
|
|
||||||
|
|
||||||
class LobbyModel;
|
class LobbyModel;
|
||||||
class LobbyFilterProxyModel;
|
class LobbyFilterProxyModel;
|
||||||
|
|
Reference in New Issue