diff options
Diffstat (limited to 'src/jsonserver.h')
-rw-r--r-- | src/jsonserver.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/jsonserver.h b/src/jsonserver.h index 63e1cf2..0657b3c 100644 --- a/src/jsonserver.h +++ b/src/jsonserver.h @@ -50,6 +50,7 @@ class QLocalServer; #include "jsonstream-global.h" +#include "schemaerror.h" QT_BEGIN_NAMESPACE_JSONSTREAM @@ -107,8 +108,8 @@ signals: void messageReceived(const QString &identifier, const QJsonObject &message); void authorizationFailed(); - void inboundMessageValidationFailed(const QJsonObject &message); - void outboundMessageValidationFailed(const QJsonObject &message); + void inboundMessageValidationFailed(const QJsonObject &message, const QtAddOn::JsonStream::SchemaError &error); + void outboundMessageValidationFailed(const QJsonObject &message, const QtAddOn::JsonStream::SchemaError &error); protected slots: virtual void handleClientAuthorized(const QString &identifier); |