summaryrefslogtreecommitdiff
path: root/src/websockets/websockets.pro
diff options
context:
space:
mode:
authorKurt Pattyn <pattyn.kurt@gmail.com>2014-02-12 15:17:58 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-15 14:40:02 +0100
commit45eadd663ff22df46fadf03c45db7e058e71e476 (patch)
tree896959f43e107cd446b3e948a295e0a7661d4f47 /src/websockets/websockets.pro
parentabb6912c11dc322718724eb11e70617d8428b6f5 (diff)
downloadqtwebsockets-45eadd663ff22df46fadf03c45db7e058e71e476.tar.gz
Add user configurable mask generation
Created a QMaskGenerator abstract base class to serve as a basis for user specific mask generators. Added the possibility to override the default mask generation in QWebSocket. Change-Id: Iaa02b44193f854d103b5f352617789175fe61f89 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'src/websockets/websockets.pro')
-rw-r--r--src/websockets/websockets.pro12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/websockets/websockets.pro b/src/websockets/websockets.pro
index 04bee8e..99e84b6 100644
--- a/src/websockets/websockets.pro
+++ b/src/websockets/websockets.pro
@@ -1,7 +1,7 @@
load(qt_build_config)
TARGET = QtWebSockets
-QT = core network core-private
+QT = core network core-private sql
TEMPLATE = lib
@@ -17,7 +17,8 @@ PUBLIC_HEADERS += \
$$PWD/qwebsocket.h \
$$PWD/qwebsocketserver.h \
$$PWD/qwebsocketprotocol.h \
- $$PWD/qwebsocketcorsauthenticator.h
+ $$PWD/qwebsocketcorsauthenticator.h \
+ $$PWD/qmaskgenerator.h
PRIVATE_HEADERS += \
$$PWD/qwebsocket_p.h \
@@ -27,7 +28,8 @@ PRIVATE_HEADERS += \
$$PWD/qwebsockethandshakeresponse_p.h \
$$PWD/qwebsocketdataprocessor_p.h \
$$PWD/qwebsocketcorsauthenticator_p.h \
- $$PWD/qwebsocketframe_p.h
+ $$PWD/qwebsocketframe_p.h \
+ $$PWD/qdefaultmaskgenerator_p.h
SOURCES += \
$$PWD/qwebsocket.cpp \
@@ -39,7 +41,9 @@ SOURCES += \
$$PWD/qwebsockethandshakeresponse.cpp \
$$PWD/qwebsocketdataprocessor.cpp \
$$PWD/qwebsocketcorsauthenticator.cpp \
- $$PWD/qwebsocketframe.cpp
+ $$PWD/qwebsocketframe.cpp \
+ $$PWD/qmaskgenerator.cpp \
+ $$PWD/qdefaultmaskgenerator_p.cpp
contains(QT_CONFIG, openssl) | contains(QT_CONFIG, openssl-linked) {
SOURCES += $$PWD/qsslserver.cpp