diff options
author | Aleksey Veresov <aleksey@veresov.pro> | 2020-02-03 15:53:56 +0300 |
---|---|---|
committer | Aleksey Veresov <aleksey@veresov.pro> | 2020-02-03 15:53:56 +0300 |
commit | 8d4981fcc1c545396df3eac87a3c1a67f3d30038 (patch) | |
tree | 0e4f373313f7b251847fecd1186786574e8d450c /src/importer.hpp | |
parent | 3032869b86efa52f20ad9840381a37017980f587 (diff) | |
download | texo-8d4981fcc1c545396df3eac87a3c1a67f3d30038.tar texo-8d4981fcc1c545396df3eac87a3c1a67f3d30038.tar.xz texo-8d4981fcc1c545396df3eac87a3c1a67f3d30038.zip |
[texo] Abolished dependency on ScriptPP.
Diffstat (limited to 'src/importer.hpp')
-rw-r--r-- | src/importer.hpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/importer.hpp b/src/importer.hpp index c5a302d..643fe5a 100644 --- a/src/importer.hpp +++ b/src/importer.hpp @@ -12,27 +12,27 @@ */ class TexoImporter { public: - TexoImporter(TexoProducer & producer); + TexoImporter(TexoProducer &producer); ~TexoImporter(); bool End(); + bool Put(char c); - bool Put(const ScriptVariable & s); - bool Put(FILE * f); + bool Put(const char *s); + bool Put(FILE *f); protected: virtual bool TrueEnd(); - virtual bool TruePut(char c) = 0; - virtual bool TruePut(const ScriptVariable & str); - virtual bool TruePut(FILE * file); + virtual bool TruePut(const char *str); + virtual bool TruePut(FILE *file); - TexoProducer & producer; - bool ok; + TexoProducer &producer; + bool ok; }; |