blob: dc8f00ed9f81b0cc3d86e1fd0b616f694b3d143b (
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
42
43
44
45
46
47
48
49
50
|
#ifndef TEXO_INCLUDED_LINES
#define TEXO_INCLUDED_LINES
#include "exporter.hpp"
#include "importer.hpp"
#include "producer.hpp"
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Texo Lines Producer
*/
class TexoProducerLines: public TexoProducer {
public:
TexoProducerLines(TexoExporter &exporter);
bool End();
bool Put(char c);
bool Paragraph();
bool Quote();
private:
bool newline;
};
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Texo Lines Importer
*/
class TexoImporterLines: public TexoImporter {
public:
TexoImporterLines(TexoProducer &producer);
protected:
bool TruePut(char c);
private:
bool newline;
bool quote;
};
#endif
|