summaryrefslogtreecommitdiff
path: root/src/importer.hpp
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2019-10-18 17:33:06 +0300
committerAleksey Veresov <aleksey@veresov.pro>2019-10-18 17:33:06 +0300
commit2c12c0652d2b8c8440e1e908f004826840ed14ab (patch)
tree881dd649f2b15ba5a8cd3aa285d073eee7c73386 /src/importer.hpp
parent9a23fd146be4ba64b0cb720993bdc73a514fecf2 (diff)
downloadtexo-2c12c0652d2b8c8440e1e908f004826840ed14ab.tar
texo-2c12c0652d2b8c8440e1e908f004826840ed14ab.tar.xz
texo-2c12c0652d2b8c8440e1e908f004826840ed14ab.zip
[texo] Semi-working.
Diffstat (limited to 'src/importer.hpp')
-rw-r--r--src/importer.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/importer.hpp b/src/importer.hpp
index 81a3b59..915416c 100644
--- a/src/importer.hpp
+++ b/src/importer.hpp
@@ -1,5 +1,21 @@
#ifndef TEXO_INCLUDED_IMPORTER
#define TEXO_INCLUDED_IMPORTER
+#include "producer.hpp"
+#include <stdio.h>
+
+
+class TexoImporter {
+public:
+ TexoImporter(TexoProducer &producer);
+
+ virtual void Put(char c) = 0;
+ virtual void Put(const ScriptVariable &str);
+ virtual void Put(FILE *file);
+
+protected:
+ TexoProducer &producer;
+};
+
#endif