aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/diceparser.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2020-08-21 22:44:10 +0200
committerRenaud G <renaud@rolisteam.org>2020-08-21 22:52:29 +0200
commitb48e29ad3cc1be1b0ee66b54bf19537a0bfdc782 (patch)
tree9a5bcb2de0e9ce1fcfacbea404fa5649b91959be /include/diceparser.h
parent8087429c108c4f6bef5f792ce256b8d5b8b69101 (diff)
downloadOneRoll-b48e29ad3cc1be1b0ee66b54bf19537a0bfdc782.tar.gz
OneRoll-b48e29ad3cc1be1b0ee66b54bf19537a0bfdc782.zip
Better export in json.
Diffstat (limited to 'include/diceparser.h')
-rw-r--r--include/diceparser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/diceparser.h b/include/diceparser.h
index 4d5555e..56dcb7d 100644
--- a/include/diceparser.h
+++ b/include/diceparser.h
@@ -105,7 +105,7 @@ public:
QString comment() const;
QString humanReadableWarning() const;
QString humanReadableError() const;
- QString resultAsJSon() const;
+ QString resultAsJSon(std::function<QString(const QString&, const QString&, bool)> colorize) const;
// QStringList stringResult() const;
// QStringList allDiceResult(bool& hasAlias) const;