diff options
author | Aleksey Veresov <aleksey@veresov.pro> | 2019-09-27 18:09:07 +0300 |
---|---|---|
committer | Aleksey Veresov <aleksey@veresov.pro> | 2019-09-27 18:09:07 +0300 |
commit | 2eae362fd3f50325067fa3d7e13db6882df80e76 (patch) | |
tree | a6eff5f8f12b990e3d256d4b02fdb86d70d81eac /src/plain.hpp | |
download | texo-2eae362fd3f50325067fa3d7e13db6882df80e76.tar texo-2eae362fd3f50325067fa3d7e13db6882df80e76.tar.xz texo-2eae362fd3f50325067fa3d7e13db6882df80e76.zip |
Texo initial.
Diffstat (limited to 'src/plain.hpp')
-rw-r--r-- | src/plain.hpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/plain.hpp b/src/plain.hpp new file mode 100644 index 0000000..c5c613c --- /dev/null +++ b/src/plain.hpp @@ -0,0 +1,25 @@ +#ifndef TEXO_INCLUDED_PLAIN +#define TEXO_INCLUDED_PLAIN + +#include "texo.hpp" + + +class TexoPlainProducer: public TexoProducer { +public: + TexoPlainProducer(TexoExporter &exporter); + void Put(const Texo &piece); +}; + + +class TexoPlainImporter: public TexoImporter { +public: + TexoPlainImporter(TexoProducer &producer); + void Put(const char c); +private: + int space; + int newline; + bool first; +}; + + +#endif |