summarylogtreecommitdiffstats
path: root/variable.cpp
diff options
context:
space:
mode:
authorDestructiveReasoning2015-06-14 21:06:46 +0000
committerDestructiveReasoning2015-06-14 21:06:46 +0000
commitcdce8829d0acbc0571acab442f8e74cf95f2744f (patch)
treef81ac53c2b20c1ea84b177f914dd210f1be4f659 /variable.cpp
downloadaur-cdce8829d0acbc0571acab442f8e74cf95f2744f.tar.gz
Initial upload to AUR4
Diffstat (limited to 'variable.cpp')
-rw-r--r--variable.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/variable.cpp b/variable.cpp
new file mode 100644
index 000000000000..08b0636e4bd3
--- /dev/null
+++ b/variable.cpp
@@ -0,0 +1,16 @@
+#include "variable.h"
+
+std::string Variable::getName()
+{
+ return name;
+}
+
+double Variable::getValue()
+{
+ return value;
+}
+
+void Variable::setValue(double val)
+{
+ value = val;
+}