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/Output.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes/Output.h') diff --git a/includes/Output.h b/includes/Output.h index d771227..fec3154 100644 --- a/includes/Output.h +++ b/includes/Output.h @@ -6,7 +6,8 @@ namespace Balau { class Output : public SeekableHandle { public: - Output(const char * fname, bool truncate = true) throw (GeneralException); + Output(const char * fname); + void open(bool truncate = true) throw (GeneralException); virtual void close() throw (GeneralException); virtual ssize_t write(const void * buf, size_t count) throw (GeneralException); virtual bool isClosed(); -- cgit v1.2.3