diff options
author | Nicolas 'Pixel' Noble <pixel@nobis-crew.org> | 2013-01-20 19:09:14 -0800 |
---|---|---|
committer | Nicolas 'Pixel' Noble <pixel@nobis-crew.org> | 2013-01-20 19:09:14 -0800 |
commit | 76ab3f1ddc143d65e97ab301c742ad6553f1b560 (patch) | |
tree | 301510be8d9d96a1622bd9b0f43648dc74aa01df /includes/Input.h | |
parent | 78d9b284f1879725c071a348c0542c0ff31ab4da (diff) |
Adding open() as an operation to Input and Output.
Diffstat (limited to 'includes/Input.h')
-rw-r--r-- | includes/Input.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/Input.h b/includes/Input.h index e0ad329..51b17c7 100644 --- a/includes/Input.h +++ b/includes/Input.h @@ -6,7 +6,8 @@ namespace Balau { class Input : public SeekableHandle { public: - Input(const char * fname) throw (GeneralException); + Input(const char * fname); + void open() throw (GeneralException); virtual void close() throw (GeneralException); virtual ssize_t read(void * buf, size_t count) throw (GeneralException); virtual bool isClosed(); |