diff options
author | geronimo <geronimo013@gmx.de> | 2012-07-30 09:12:30 +0200 |
---|---|---|
committer | geronimo <geronimo013@gmx.de> | 2012-07-30 09:12:30 +0200 |
commit | 2331befb330683d0e5459f9ca2d522f2f06c3d7e (patch) | |
tree | e95c3c4e40d57cbcf6af16d2736f34dce0279c4b /libs/IO/include/FileReader.h | |
parent | 570a18b0d0a9a00b240504ac949214d6cc96949b (diff) | |
download | cmp-2331befb330683d0e5459f9ca2d522f2f06c3d7e.tar.gz cmp-2331befb330683d0e5459f9ca2d522f2f06c3d7e.tar.bz2 |
worked out commandreader
Diffstat (limited to 'libs/IO/include/FileReader.h')
-rw-r--r-- | libs/IO/include/FileReader.h | 11 |
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; }; |