From 76ab3f1ddc143d65e97ab301c742ad6553f1b560 Mon Sep 17 00:00:00 2001 From: Nicolas 'Pixel' Noble Date: Sun, 20 Jan 2013 19:09:14 -0800 Subject: Adding open() as an operation to Input and Output. --- includes/Input.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes/Input.h') 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(); -- cgit v1.2.3