diff options
author | Pixel <pixel@nobis-crew.org> | 2011-11-13 19:16:46 +0100 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2011-11-13 19:17:43 +0100 |
commit | 0edf1ac65db56054c80bc913a62172bbcebba321 (patch) | |
tree | 43001a25fb9e4fea22acffc395825d7ff04f2276 /includes | |
parent | 1e6b5ff854b07dfd559795af8b9e775f58f4d6cd (diff) |
Adding isEOF() to Buffers (and cleaning code a tiny bit)
Diffstat (limited to 'includes')
-rw-r--r-- | includes/Buffer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/Buffer.h b/includes/Buffer.h index 99a57f0..50dd47b 100644 --- a/includes/Buffer.h +++ b/includes/Buffer.h @@ -11,6 +11,7 @@ class Buffer : public SeekableHandle { virtual ssize_t read(void * buf, size_t count) throw (GeneralException); virtual ssize_t write(const void * buf, size_t count) throw (GeneralException); virtual bool isClosed(); + virtual bool isEOF(); virtual bool canRead(); virtual bool canWrite(); virtual const char * getName(); |