summaryrefslogtreecommitdiff
path: root/src/html.hpp
blob: 265ee395be00e9cf07a159f05108d57d80fcc830 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef TEXO_INCLUDED_HTML
#define TEXO_INCLUDED_HTML

#include "texo.hpp"


class TexoHTMLProducer: public TexoProducer {
public:
    TexoHTMLProducer(TexoExporter &exporter);
    void Put(const Texo &piece);
private:
    void BeginLink(const Texo &piece);
    void Image(const Texo &piece);
};


class TexoHTMLImporter: public TexoImporter {
public:
    TexoHTMLImporter(TexoProducer &producer);
    void Put(const char c);
};


#endif