Support returning a canceled message

This commit is contained in:
varjolintu 2019-06-13 10:05:29 +03:00 committed by Jonathan White
parent b4dab5d8b1
commit 3cf171cbf5
4 changed files with 49 additions and 19 deletions

View file

@ -73,6 +73,7 @@ private:
QJsonObject buildResponse(const QString& action, const QJsonObject& message, const QString& nonce);
QJsonObject getErrorReply(const QString& action, const int errorCode) const;
QString getErrorMessage(const int errorCode) const;
QString getReturnValue(const BrowserService::ReturnValue returnValue) const;
QString getDatabaseHash();
QString encryptMessage(const QJsonObject& message, const QString& nonce);