summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorNicolas 'Pixel' Noble <pixel@nobis-crew.org>2013-01-21 16:22:45 -0800
committerNicolas 'Pixel' Noble <pixel@nobis-crew.org>2013-01-21 16:22:45 -0800
commitd2fdc279df461d164860cf08645affca39232355 (patch)
tree295f453fefc2bf2b0e8daf4d05418f65bc015a5b /includes
parent56b8ca62c666a1b747766a5ede70db070977ad37 (diff)
Output operations open, close and write are now fully interruptible.
Diffstat (limited to 'includes')
-rw-r--r--includes/Output.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/Output.h b/includes/Output.h
index fec3154..c80cf40 100644
--- a/includes/Output.h
+++ b/includes/Output.h
@@ -15,6 +15,7 @@ class Output : public SeekableHandle {
virtual const char * getName();
virtual off_t getSize();
virtual time_t getMTime();
+ virtual bool isPendingComplete();
const char * getFName() { return m_fname.to_charp(); }
private:
int m_fd = -1;
@@ -22,6 +23,7 @@ class Output : public SeekableHandle {
String m_fname;
off_t m_size = -1;
time_t m_mtime = -1;
+ void * m_pendingOp = NULL;
};
};