summaryrefslogtreecommitdiff
path: root/src/file.hpp
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2019-11-08 19:49:40 +0300
committerAleksey Veresov <aleksey@veresov.pro>2019-11-08 19:56:11 +0300
commit3047ed6100a56a529f26e43ada0a3fc3c3815c3e (patch)
tree9648d5a74bae9cbd90670a8bfa0af47189e4536f /src/file.hpp
parentc6419eed96f2832b1de2b94d711552efaa9b172d (diff)
downloadtexo-3047ed6100a56a529f26e43ada0a3fc3c3815c3e.tar
texo-3047ed6100a56a529f26e43ada0a3fc3c3815c3e.tar.xz
texo-3047ed6100a56a529f26e43ada0a3fc3c3815c3e.zip
[texo] Full rewrite of inner representation.
Diffstat (limited to 'src/file.hpp')
-rw-r--r--src/file.hpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/file.hpp b/src/file.hpp
index 1cfea0b..5f8adb6 100644
--- a/src/file.hpp
+++ b/src/file.hpp
@@ -5,12 +5,18 @@
#include <stdio.h>
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Texo File Exporter
+ * Simple utility class to make output into FILE *variable.
+ */
class TexoExporterFile: public TexoExporter {
public:
TexoExporterFile(FILE *file);
- void Put(char c);
- void Put(const ScriptVariable &str);
+
+ bool Put(char c);
+ bool Put(const ScriptVariable &str);
+
private:
FILE *file;