diff options
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 |