aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/range.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2016-09-25 04:21:38 +0200
committerRenaud G <renaud@rolisteam.org>2016-09-25 04:21:38 +0200
commit2058e830c7a8459e65917cb8b00e282c2ec68234 (patch)
treecc304caed8f7657801ffc96b16a143273574015a /range.h
parente6a161356be7c5fc306fccce7056670cd75a0966 (diff)
downloadOneRoll-2058e830c7a8459e65917cb8b00e282c2ec68234.tar.gz
OneRoll-2058e830c7a8459e65917cb8b00e282c2ec68234.zip
-add status about empty range. To Be Defined range.
Diffstat (limited to 'range.h')
-rw-r--r--range.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/range.h b/range.h
index 40b4277..0ffd298 100644
--- a/range.h
+++ b/range.h
@@ -44,11 +44,15 @@ public:
qint64 getStart() const;
qint64 getEnd() const;
+ void setEmptyRange(bool);
+ bool isEmptyRange();
+
private:
qint64 m_start;
qint64 m_end;
bool m_hasEnd;
bool m_hasStart;
+ bool m_emptyRange;
};
#endif // RANGE_H