summaryrefslogtreecommitdiff
path: root/includes/Handle.h
diff options
context:
space:
mode:
authorNicolas 'Pixel' Noble <pixel@nobis-crew.org>2013-01-21 00:53:12 -0800
committerNicolas 'Pixel' Noble <pixel@nobis-crew.org>2013-01-21 00:53:12 -0800
commit56b8ca62c666a1b747766a5ede70db070977ad37 (patch)
tree9d541e2d5a86ace3d1939aeec384d61bc0ae73ae /includes/Handle.h
parentc4882ea5aae8b1ad0fce85e19844a1c2ef97aa28 (diff)
ZStreams's close, read and write are now fully interruptible. Will need some testing though.
Diffstat (limited to 'includes/Handle.h')
-rw-r--r--includes/Handle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/Handle.h b/includes/Handle.h
index 32a5975..091c59c 100644
--- a/includes/Handle.h
+++ b/includes/Handle.h
@@ -52,6 +52,7 @@ class Handle {
virtual off_t wtell() throw (GeneralException);
virtual off_t getSize();
virtual time_t getMTime();
+ virtual bool isPendingComplete() { return true; }
ssize_t forceRead(void * buf, size_t count, Events::BaseEvent * evt = NULL) throw (GeneralException);
ssize_t forceWrite(const void * buf, size_t count, Events::BaseEvent * evt = NULL) throw (GeneralException);
ssize_t write(const String & str) { return write(str.to_charp(), str.strlen()); }