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/Output.h | |
parent | 78d9b284f1879725c071a348c0542c0ff31ab4da (diff) |
Adding open() as an operation to Input and Output.
Diffstat (limited to 'includes/Output.h')
-rw-r--r-- | includes/Output.h | 3 |
1 files changed, 2 insertions, 1 deletions
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(); |