summaryrefslogtreecommitdiff
path: root/libs/IO/include/FileReader.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/IO/include/FileReader.h')
-rw-r--r--libs/IO/include/FileReader.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/libs/IO/include/FileReader.h b/libs/IO/include/FileReader.h
index 31cb7d6..816b140 100644
--- a/libs/IO/include/FileReader.h
+++ b/libs/IO/include/FileReader.h
@@ -25,18 +25,19 @@
#ifndef FILEREADER_H
#define FILEREADER_H
+#include <Reader.h>
+
class cFile;
-class cFileReader
-{
+class cFileReader : public cReader {
public:
cFileReader(cFile *Input);
virtual ~cFileReader();
- int Read(char *buf, int bufSize);
- void Close();
+protected:
+ virtual bool Open(void);
+ virtual void Close(void);
private:
- int fd;
cFile *file;
};