diff options
| author | 2014-01-07 16:36:31 +0100 | |
|---|---|---|
| committer | 2014-01-07 16:36:31 +0100 | |
| commit | 79dbf95ffc3b1f3875bf7d8d8674fb6b2dc06f80 (patch) | |
| tree | c15def13511a652030725268a0423bd72e696762 /result.h | |
| parent | 2370150183601a05986b82cec38078eaeef01f12 (diff) | |
| download | OneRoll-79dbf95ffc3b1f3875bf7d8d8674fb6b2dc06f80.tar.gz OneRoll-79dbf95ffc3b1f3875bf7d8d8674fb6b2dc06f80.zip | |
Create result.h
creating abstract class result
Diffstat (limited to 'result.h')
| -rw-r--r-- | result.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/result.h b/result.h new file mode 100644 index 0000000..71607b0 --- /dev/null +++ b/result.h @@ -0,0 +1,21 @@ +#ifndef RESULT_H +#define RESULT_H + +#include <Qt> + +class Result +{ +public: + Result(); + + virtual bool isScalar() const = 0; + virtual qint64 getScalar() = 0; + + virtual Result* getPrevious(); + virtual void setPrevious(Result*); + +private: + Result* m_previous; +}; + +#endif // RESULT_H |