blob: 4f68cb9c3f79074d7a5d7e1afc4b3ac40ac71fb8 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#ifndef TEXO_INCLUDED_LINES
#define TEXO_INCLUDED_LINES
#include "exporter.hpp"
#include "producer.hpp"
#include "importer.hpp"
class TexoProducerLines: public TexoProducer {
public:
TexoProducerLines(TexoExporter &exporter);
void Put(const Texo &piece);
void Put(const TexoParagraph &piece);
void Put(const TexoQuote &piece);
void Put(const TexoLineBreak &piece);
private:
bool quoted;
bool newline;
};
class TexoImporterLines: public TexoImporter {
public:
TexoImporterLines(TexoProducer &producer);
~TexoImporterLines();
void Put(char c);
void Put(const ScriptVariable &str);
void Put(FILE *file);
private:
bool quoted;
bool newline;
};
#endif
|