From 2331befb330683d0e5459f9ca2d522f2f06c3d7e Mon Sep 17 00:00:00 2001 From: geronimo Date: Mon, 30 Jul 2012 09:12:30 +0200 Subject: worked out commandreader --- libs/IO/include/FileReader.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'libs/IO/include/FileReader.h') 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 + 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; }; -- cgit v1.2.3