summaryrefslogtreecommitdiff
path: root/src/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script.cpp')
-rw-r--r--src/script.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/script.cpp b/src/script.cpp
new file mode 100644
index 0000000..d335ff0
--- /dev/null
+++ b/src/script.cpp
@@ -0,0 +1,21 @@
+#include "script.hpp"
+
+
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Texo String Exporter
+ */
+TexoExporterString::TexoExporterString(ScriptVariable &str): str(str)
+{}
+
+
+bool TexoExporterString::Put(char c)
+{
+ str += c;
+ return true;
+}
+
+bool TexoExporterString::Put(const ScriptVariable &addon)
+{
+ str += addon;
+ return true;
+}