-#include "dataprocessor.h"
+#include "dataprocessor_p.h"
#include "websocketprotocol.h"
#include <QTcpSocket>
#include <QtEndian>
-#ifndef DATAPROCESSOR_H
-#define DATAPROCESSOR_H
+#ifndef DATAPROCESSOR_P_H
+#define DATAPROCESSOR_P_H
#include <QObject>
#include <QByteArray>
QTextCodec *m_pTextCodec;
};
-#endif // DATAPROCESSOR_H
+#endif // DATAPROCESSOR_P_H
-#include "handshakerequest.h"
+#include "handshakerequest_p.h"
#include <QString>
#include <QMap>
#include <QTextStream>
-#ifndef HANDSHAKEREQUEST_H
-#define HANDSHAKEREQUEST_H
+#ifndef HANDSHAKEREQUEST_P_H
+#define HANDSHAKEREQUEST_P_H
#include <QObject>
#include <QMap>
QTextStream &operator >>(QTextStream &stream, HandshakeRequest &request);
-#endif // HANDSHAKEREQUEST_H
+#endif // HANDSHAKEREQUEST_P_H
-#include "handshakeresponse.h"
-#include "handshakerequest.h"
+#include "handshakeresponse_p.h"
+#include "handshakerequest_p.h"
#include <QString>
#include <QTextStream>
#include <QByteArray>
-#ifndef HANDSHAKERESPONSE_H
-#define HANDSHAKERESPONSE_H
+#ifndef HANDSHAKERESPONSE_P_H
+#define HANDSHAKERESPONSE_P_H
#include <QObject>
#include "websocketprotocol.h"
friend QTextStream &operator <<(QTextStream &stream, const HandshakeResponse &response);
};
-#endif // HANDSHAKERESPONSE_H
+#endif // HANDSHAKERESPONSE_P_H
#include "websocket.h"
-#include "handshakerequest.h"
-#include "handshakeresponse.h"
+#include "handshakerequest_p.h"
+#include "handshakeresponse_p.h"
#include <QUrl>
#include <QTcpSocket>
#include <QByteArray>
#include <QAbstractSocket>
#include <QHostAddress>
#include "websocketprotocol.h"
-#include "dataprocessor.h"
+#include "dataprocessor_p.h"
#include <QNetworkProxy>
#include <QTime>
SOURCES += $$PWD/websocket.cpp \
$$PWD/websocketserver.cpp \
$$PWD/websocketprotocol.cpp \
- $$PWD/handshakerequest.cpp \
- $$PWD/handshakeresponse.cpp \
- $$PWD/dataprocessor.cpp
+ $$PWD/handshakerequest_p.cpp \
+ $$PWD/handshakeresponse_p.cpp \
+ $$PWD/dataprocessor_p.cpp
HEADERS += $$PWD/websocket.h \
$$PWD/websocketserver.h \
$$PWD/websocketprotocol.h \
- $$PWD/handshakerequest.h \
- $$PWD/handshakeresponse.h \
- $$PWD/dataprocessor.h
+ $$PWD/handshakerequest_p.h \
+ $$PWD/handshakeresponse_p.h \
+ $$PWD/dataprocessor_p.h
INCLUDEPATH += $$PWD
DEPENDPATH += $$PWD
#include <QTcpSocket>
#include <QNetworkProxy>
#include "websocketprotocol.h"
-#include "handshakerequest.h"
-#include "handshakeresponse.h"
+#include "handshakerequest_p.h"
+#include "handshakeresponse_p.h"
#include "websocket.h"
/*!