forward declare includes

This commit is contained in:
Michael Zanetti 2018-08-13 23:21:33 +02:00 committed by Simon Stürz
parent 682e18e9df
commit 36f1fbd6ea
5 changed files with 8 additions and 6 deletions

View File

@ -1,14 +1,14 @@
INCLUDEPATH += $${PWD}
HEADERS += \
$${PWD}/jsonrpcclient2.h \
$${PWD}/proxyjsonrpcclient.h \
$${PWD}/jsonreply.h \
$${PWD}/remoteproxyconnection.h \
$${PWD}/proxyconnection.h \
$${PWD}/websocketconnection.h
SOURCES += \
$${PWD}/jsonrpcclient2.cpp \
$${PWD}/proxyjsonrpcclient.cpp \
$${PWD}/jsonreply.cpp \
$${PWD}/remoteproxyconnection.cpp \
$${PWD}/proxyconnection.cpp \

View File

@ -1,4 +1,4 @@
#include "jsonrpcclient2.h"
#include "proxyjsonrpcclient.h"
#include "proxyconnection.h"
#include <QJsonDocument>

View File

@ -1,5 +1,7 @@
#include "remoteproxyconnection.h"
#include "websocketconnection.h"
#include "proxyjsonrpcclient.h"
#include "proxyconnection.h"
Q_LOGGING_CATEGORY(dcRemoteProxyClientConnection, "RemoteProxyClientConnection")
Q_LOGGING_CATEGORY(dcRemoteProxyClientConnectionTraffic, "RemoteProxyClientConnectionTraffic")

View File

@ -8,14 +8,14 @@
#include <QHostAddress>
#include <QLoggingCategory>
#include "jsonrpcclient2.h"
#include "proxyconnection.h"
Q_DECLARE_LOGGING_CATEGORY(dcRemoteProxyClientConnection)
Q_DECLARE_LOGGING_CATEGORY(dcRemoteProxyClientConnectionTraffic)
namespace remoteproxyclient {
class JsonRpcClient;
class ProxyConnection;
class RemoteProxyConnection : public QObject
{
Q_OBJECT