summaryrefslogtreecommitdiff
path: root/src/file.hpp
blob: 171e6d3fd649430794b28612d5f3fe64f1908854 (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
#ifndef TEXO_INCLUDED_FILE
#define TEXO_INCLUDED_FILE

#include "exporter.hpp"
#include <stdio.h>


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Texo File Exporter
 * Simple utility class to make output into FILE *variable.
 */
class TexoExporterFile: public TexoExporter {
public:
    TexoExporterFile(FILE * file);


    bool Put(char c);
    bool Put(const ScriptVariable & str);


private:
    FILE * file;
};


#endif