From 8bc48d3789a6ad94642144d1e0ab71b5e3a4cd03 Mon Sep 17 00:00:00 2001 From: obiwankennedy Date: Tue, 7 Jan 2014 19:01:33 +0100 Subject: Update diceresult.h herits from result --- diceresult.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/diceresult.h b/diceresult.h index 7cb5169..93fb668 100644 --- a/diceresult.h +++ b/diceresult.h @@ -3,8 +3,9 @@ #include #include "die.h" +#include "result.h" -class DiceResult +class DiceResult : public Result { public: DiceResult(); @@ -15,7 +16,8 @@ public: void setResultList(QList list); - + bool isScalar() const; + virtual qint64 getScalar(); private: QList m_diceValues; }; -- cgit v1.2.3-70-g09d2