diff options
author | Aleksey Veresov <aleksey@veresov.pro> | 2019-11-08 19:49:40 +0300 |
---|---|---|
committer | Aleksey Veresov <aleksey@veresov.pro> | 2019-11-08 19:49:40 +0300 |
commit | ed7a63015c1583d5544ac18bbaccaedc95f3e5e3 (patch) | |
tree | 9648d5a74bae9cbd90670a8bfa0af47189e4536f /src/script.hpp | |
parent | c6419eed96f2832b1de2b94d711552efaa9b172d (diff) | |
download | texo-ed7a63015c1583d5544ac18bbaccaedc95f3e5e3.tar texo-ed7a63015c1583d5544ac18bbaccaedc95f3e5e3.tar.xz texo-ed7a63015c1583d5544ac18bbaccaedc95f3e5e3.zip |
[texo] Full rewrite of inner representation.
Diffstat (limited to 'src/script.hpp')
-rw-r--r-- | src/script.hpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/script.hpp b/src/script.hpp new file mode 100644 index 0000000..77f75df --- /dev/null +++ b/src/script.hpp @@ -0,0 +1,25 @@ +#ifndef TEXO_INCLUDED_SCRIPT +#define TEXO_INCLUDED_SCRIPT + +#include "exporter.hpp" + +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * Texo String Exporter + * Simple utility class to make output into Script Variable, + * which can be easily transformed into C string via c_str method. + */ +class TexoExporterString: public TexoExporter { +public: + TexoExporterString(ScriptVariable &str); + + + bool Put(char c); + bool Put(const ScriptVariable &addon); + + +private: + ScriptVariable &str; +}; + + +#endif |