diff options
author | Aleksey Veresov <aleksey@veresov.pro> | 2019-10-18 17:33:06 +0300 |
---|---|---|
committer | Aleksey Veresov <aleksey@veresov.pro> | 2019-10-18 17:33:06 +0300 |
commit | 2c12c0652d2b8c8440e1e908f004826840ed14ab (patch) | |
tree | 881dd649f2b15ba5a8cd3aa285d073eee7c73386 /examples/plain_to_html.cpp | |
parent | 9a23fd146be4ba64b0cb720993bdc73a514fecf2 (diff) | |
download | texo-2c12c0652d2b8c8440e1e908f004826840ed14ab.tar texo-2c12c0652d2b8c8440e1e908f004826840ed14ab.tar.xz texo-2c12c0652d2b8c8440e1e908f004826840ed14ab.zip |
[texo] Semi-working.
Diffstat (limited to 'examples/plain_to_html.cpp')
-rw-r--r-- | examples/plain_to_html.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/examples/plain_to_html.cpp b/examples/plain_to_html.cpp index 9a81652..d123a84 100644 --- a/examples/plain_to_html.cpp +++ b/examples/plain_to_html.cpp @@ -2,14 +2,15 @@ #include <html.hpp> #include <plain.hpp> #include <file.hpp> +#include <scrvar.hpp> int main() { - TexoFileExporter exporter(stdout); - TexoHTMLProducer producer(exporter); - TexoPlainImporter importer(producer); - importer.PutStr( + TexoExporterFile exporter(stdout); + TexoProducerHTML producer(exporter); + TexoImporterPlain importer(producer); + importer.Put( "I am a little cute line. \n" "I am another and that's fine. \n" "But I am as long as a pine,\n" |