Fix compilation issue where unique_ptr needs full class declaration

This commit is contained in:
James Rowe 2018-04-17 23:33:54 -06:00
parent c635c7f40d
commit 01b49b7e78
10 changed files with 5 additions and 26 deletions

View File

@ -16,7 +16,6 @@
#include "citra_qt/multiplayer/message.h"
#include "common/logging/log.h"
#include "core/announce_multiplayer_session.h"
#include "ui_chat_room.h"
class ChatMessage {
public:

View File

@ -10,10 +10,7 @@
#include <QStandardItemModel>
#include <QVariant>
#include "network/network.h"
namespace Ui {
class ChatRoom;
} // namespace Ui
#include "ui_chat_room.h"
namespace Core {
class AnnounceMultiplayerSession;

View File

@ -15,7 +15,6 @@
#include "citra_qt/multiplayer/message.h"
#include "common/logging/log.h"
#include "core/announce_multiplayer_session.h"
#include "ui_client_room.h"
ClientRoomWindow::ClientRoomWindow(QWidget* parent)
: QDialog(parent, Qt::WindowTitleHint | Qt::WindowCloseButtonHint | Qt::WindowSystemMenuHint),

View File

@ -5,10 +5,7 @@
#pragma once
#include "citra_qt/multiplayer/chat_room.h"
namespace Ui {
class ClientRoom;
}
#include "ui_client_room.h"
class ClientRoomWindow : public QDialog {
Q_OBJECT

View File

@ -17,7 +17,6 @@
#include "citra_qt/ui_settings.h"
#include "core/settings.h"
#include "network/network.h"
#include "ui_direct_connect.h"
enum class ConnectionType : u8 { TraversalServer, IP };

View File

@ -7,10 +7,7 @@
#include <memory>
#include <QDialog>
#include <QFutureWatcher>
namespace Ui {
class DirectConnect;
}
#include "ui_direct_connect.h"
class DirectConnectWindow : public QDialog {
Q_OBJECT

View File

@ -20,8 +20,6 @@
#include "common/logging/log.h"
#include "core/announce_multiplayer_session.h"
#include "core/settings.h"
#include "ui_chat_room.h"
#include "ui_host_room.h"
HostRoomWindow::HostRoomWindow(QWidget* parent, QStandardItemModel* list,
std::shared_ptr<Core::AnnounceMultiplayerSession> session)

View File

@ -11,10 +11,7 @@
#include <QVariant>
#include "citra_qt/multiplayer/chat_room.h"
#include "network/network.h"
namespace Ui {
class HostRoom;
} // namespace Ui
#include "ui_host_room.h"
namespace Core {
class AnnounceMultiplayerSession;

View File

@ -17,7 +17,6 @@
#include "common/logging/log.h"
#include "core/settings.h"
#include "network/network.h"
#include "ui_lobby.h"
Lobby::Lobby(QWidget* parent, QStandardItemModel* list,
std::shared_ptr<Core::AnnounceMultiplayerSession> session)

View File

@ -13,10 +13,7 @@
#include "common/announce_multiplayer_room.h"
#include "core/announce_multiplayer_session.h"
#include "network/network.h"
namespace Ui {
class Lobby;
}
#include "ui_lobby.h"
class LobbyModel;
class LobbyFilterProxyModel;