summaryrefslogtreecommitdiff
path: root/src/html.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/html.hpp
parent9a23fd146be4ba64b0cb720993bdc73a514fecf2 (diff)
downloadtexo-2c12c0652d2b8c8440e1e908f004826840ed14ab.tar
texo-2c12c0652d2b8c8440e1e908f004826840ed14ab.tar.xz
texo-2c12c0652d2b8c8440e1e908f004826840ed14ab.zip
[texo] Semi-working.
Diffstat (limited to 'src/html.hpp')
-rw-r--r--src/html.hpp21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/html.hpp b/src/html.hpp
index a904d56..dc291f6 100644
--- a/src/html.hpp
+++ b/src/html.hpp
@@ -4,18 +4,37 @@
#include "exporter.hpp"
#include "producer.hpp"
#include "importer.hpp"
-#include "texo.hpp"
class TexoProducerHTML: public TexoProducer {
public:
TexoProducerHTML(TexoExporter &exporter);
+
+ void Put(const Texo &piece);
+
+ void Put(const TexoHeader &piece);
+ void Put(const TexoParagraph &piece);
+ void Put(const TexoCode &piece);
+ void Put(const TexoQuote &piece);
+
+ void Put(const TexoMono &piece);
+ void Put(const TexoBold &piece);
+ void Put(const TexoItalic &piece);
+ void Put(const TexoUnderline &piece);
+ void Put(const TexoStrike &piece);
+
+ void Put(const TexoImage &piece);
+ void Put(const TexoLink &piece);
+ void Put(const TexoLineBreak &piece);
+ void Put(const TexoHorizontalRule &piece);
};
class TexoImporterHTML: public TexoImporter {
public:
TexoImporterHTML(TexoProducer &producer);
+
+ void Put(char c);
};