diff options
author | Nicolas 'Pixel' Noble <pixel@nobis-crew.org> | 2013-01-20 20:13:29 -0800 |
---|---|---|
committer | Nicolas 'Pixel' Noble <pixel@nobis-crew.org> | 2013-01-20 20:13:29 -0800 |
commit | f6e2bfe69c014b9b99423320ba787a3df938754b (patch) | |
tree | 5488041351a38bac3744df9d22e5ada6ea754b99 /includes/Input.h | |
parent | 76ab3f1ddc143d65e97ab301c742ad6553f1b560 (diff) |
Input's open, read and close are now operations fully interruptible.
Diffstat (limited to 'includes/Input.h')
-rw-r--r-- | includes/Input.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/Input.h b/includes/Input.h index 51b17c7..af17107 100644 --- a/includes/Input.h +++ b/includes/Input.h @@ -15,6 +15,7 @@ class Input : public SeekableHandle { virtual const char * getName(); virtual off_t getSize(); virtual time_t getMTime(); + bool isPendingComplete(); const char * getFName() { return m_fname.to_charp(); } private: int m_fd = -1; @@ -22,6 +23,7 @@ class Input : public SeekableHandle { String m_fname; off_t m_size = -1; time_t m_mtime = -1; + void * m_pendingOp = NULL; }; }; |