aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2014-12-09 20:41:33 +0100
committerRenaud G <renaud@rolisteam.org>2014-12-09 20:41:33 +0100
commitbbab96c9148cb2b96bb14fe5b7a7beac1de22b66 (patch)
treecffbbddd1ea1f8581e296ee85e2217a257eecfb6
parentde38199f61635a4206eb44c8e70634086aa20538 (diff)
downloadOneRoll-bbab96c9148cb2b96bb14fe5b7a7beac1de22b66.tar.gz
OneRoll-bbab96c9148cb2b96bb14fe5b7a7beac1de22b66.zip
-Add stringresult API
-rw-r--r--result.cpp9
-rw-r--r--stringresult.h3
2 files changed, 12 insertions, 0 deletions
diff --git a/result.cpp b/result.cpp
index 6263078..b38ffd2 100644
--- a/result.cpp
+++ b/result.cpp
@@ -36,3 +36,12 @@ void Result::setPrevious(Result* p)
m_previous = p;
}
+bool Result::isStringResult()
+{
+ return false;
+}
+
+QString Result::getStringResult()
+{
+ return QString();
+}
diff --git a/stringresult.h b/stringresult.h
index 19e9865..7db55a1 100644
--- a/stringresult.h
+++ b/stringresult.h
@@ -1,6 +1,9 @@
#ifndef STRINGRESULT_H
#define STRINGRESULT_H
+/**
+ * @brief The StringResult class
+ */
class StringResult
{
public: