summaryrefslogtreecommitdiff
path: root/src/file.hpp
blob: 5f8adb64eab3730a006e5ed1933d84889ce44c99 (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