summaryrefslogtreecommitdiff
path: root/src/texo.hpp
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2019-10-18 12:37:46 +0300
committerAleksey Veresov <aleksey@veresov.pro>2019-10-18 12:37:46 +0300
commit9a23fd146be4ba64b0cb720993bdc73a514fecf2 (patch)
tree9c8d9554d37f7ab25087e1468c012fb41a6e39ee /src/texo.hpp
parent7b09f265c1deb12c9e6778c4d92473d66fc5406b (diff)
downloadtexo-9a23fd146be4ba64b0cb720993bdc73a514fecf2.tar
texo-9a23fd146be4ba64b0cb720993bdc73a514fecf2.tar.xz
texo-9a23fd146be4ba64b0cb720993bdc73a514fecf2.zip
.
Diffstat (limited to 'src/texo.hpp')
-rw-r--r--src/texo.hpp60
1 files changed, 0 insertions, 60 deletions
diff --git a/src/texo.hpp b/src/texo.hpp
index bfea181..93cad3a 100644
--- a/src/texo.hpp
+++ b/src/texo.hpp
@@ -1,65 +1,5 @@
#ifndef TEXO_INCLUDED_TEXO
#define TEXO_INCLUDED_TEXO
-#include <stdio.h>
-
-
-class Texo {
-public:
- enum Type {
- character = 0,
- link_begin,
- link_end,
- image,
- bold_begin,
- bold_end,
- italic_begin,
- italic_end,
- strike_begin,
- strike_end,
- underline_begin,
- underline_end,
- paragraph_begin,
- paragraph_end,
- newline
- } type;
- Texo(Type type);
- Texo(const char c);
- const char c;
- const char *link_url;
- const char *image_src;
- const char *image_alt;
-};
-
-
-class TexoExporter {
-public:
- virtual void Put(const char c) = 0;
- virtual void PutStr(const char *str);
-};
-
-
-class TexoProducer {
-public:
- TexoProducer(TexoExporter &exporter);
- virtual void Put(const Texo &piece) = 0;
- virtual void PutStr(const char *str);
-
-protected:
- TexoExporter &exporter;
-};
-
-
-class TexoImporter {
-public:
- TexoImporter(TexoProducer &producer);
- virtual void Put(const char c) = 0;
- virtual void PutStr(const char *str);
- virtual void PutFile(FILE *file);
-
-protected:
- TexoProducer &producer;
-};
-
#endif