aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/webserver/diceserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'webserver/diceserver.h')
-rw-r--r--webserver/diceserver.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/webserver/diceserver.h b/webserver/diceserver.h
index 330b71a..fa32814 100644
--- a/webserver/diceserver.h
+++ b/webserver/diceserver.h
@@ -1,18 +1,17 @@
-#include <QObject>
#include "diceparser.h"
#include "qhttp/src/qhttpserver.hpp"
-
+#include <QObject>
class DiceServer : public QObject
{
Q_OBJECT
public:
- DiceServer(int port = 8085);
+ DiceServer(int port= 8085);
virtual ~DiceServer();
-
QString startDiceParsing(QString cmd);
- QString diceToText(ExportedDiceResult &dice, bool highlight, bool homogeneous);
+ QString diceToText(ExportedDiceResult& dice, bool highlight, bool homogeneous);
+
private:
DiceParser* m_diceParser;
qhttp::server::QHttpServer* m_server;