mirror of
https://github.com/Dejvino/lilybook.git
synced 2024-11-14 20:33:28 +00:00
17 lines
201 B
C
17 lines
201 B
C
|
#include <stdlib.h>
|
||
|
#include <stdio.h>
|
||
|
|
||
|
class TextReader
|
||
|
{
|
||
|
public:
|
||
|
TextReader(FILE* file);
|
||
|
|
||
|
size_t read(long pos, char* text, size_t len);
|
||
|
|
||
|
void close();
|
||
|
|
||
|
private:
|
||
|
|
||
|
FILE* f;
|
||
|
};
|