summaryrefslogtreecommitdiff
path: root/src/file.hpp
blob: 280e6ed164de5f44fd384b44724a86f2cd5d0be7 (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 TexoFile: public TexoExporter {
public:
    TexoFile(FILE *file);


    bool Put(char c);
    bool Put(const char *str);


private:
    FILE *file;
};


#endif