summaryrefslogtreecommitdiff
path: root/src/file.hpp
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2020-01-31 17:16:27 +0300
committerAleksey Veresov <aleksey@veresov.pro>2020-01-31 17:16:27 +0300
commit0be032c6998e712dc2c9f2ed97c3491d89eb05af (patch)
treef762d884147d2f0a9a115edd0b5e0de554a3ec1b /src/file.hpp
downloadxift-0be032c6998e712dc2c9f2ed97c3491d89eb05af.tar
xift-0be032c6998e712dc2c9f2ed97c3491d89eb05af.tar.xz
xift-0be032c6998e712dc2c9f2ed97c3491d89eb05af.zip
[xift] Almost done.
Diffstat (limited to 'src/file.hpp')
-rw-r--r--src/file.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/file.hpp b/src/file.hpp
new file mode 100644
index 0000000..0e189d6
--- /dev/null
+++ b/src/file.hpp
@@ -0,0 +1,20 @@
+#ifndef XIFT_INCLUDED_FILE
+#define XIFT_INCLUDED_FILE
+
+#include "exporter.hpp"
+#include <stdio.h>
+
+
+class XiftFile: public XiftExporter {
+public:
+ XiftFile(FILE *file);
+
+ void Put(char c);
+ void Put(const char *str);
+
+private:
+ FILE *file;
+};
+
+
+#endif