aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceresult.h
diff options
context:
space:
mode:
Diffstat (limited to 'diceresult.h')
-rw-r--r--diceresult.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/diceresult.h b/diceresult.h
new file mode 100644
index 0000000..a9d36a3
--- /dev/null
+++ b/diceresult.h
@@ -0,0 +1,19 @@
+#ifndef DICERESULT_H
+#define DICERESULT_H
+#include <QList>
+
+class DiceResult
+{
+public:
+ DiceResult();
+
+ qint64 getSum();
+ QList<qint64>& getResultList();
+ void insertResult(qint64);
+
+
+private:
+ QList<qint64> m_diceValues;
+};
+
+#endif // DICERESULT_H