From: Mikko Rasa Date: Fri, 5 Aug 2011 15:04:07 +0000 (+0300) Subject: Remove signal_closed now that closing is only done in the destructor X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=70929f1a2265b112405eb2d4b03e1a374008b57d;p=libs%2Fcore.git Remove signal_closed now that closing is only done in the destructor --- diff --git a/source/io/base.h b/source/io/base.h index 700dae7..61819cf 100644 --- a/source/io/base.h +++ b/source/io/base.h @@ -24,9 +24,6 @@ public: seeked) and any data buffered by upper layers needs to be flushed. */ sigc::signal signal_flush_required; - /** Emitted when the I/O object has closed. */ - sigc::signal signal_closed; - /** Emitted when the object is deleted. Mainly for use by EventDispatcher. */ sigc::signal signal_deleted; diff --git a/source/io/file.cpp b/source/io/file.cpp index 9032609..dacc5d7 100644 --- a/source/io/file.cpp +++ b/source/io/file.cpp @@ -88,7 +88,6 @@ File::~File() { signal_flush_required.emit(); sys_close(handle); - signal_closed.emit(); } void File::set_block(bool b) diff --git a/source/io/pipe.cpp b/source/io/pipe.cpp index b52c2bc..c011cef 100644 --- a/source/io/pipe.cpp +++ b/source/io/pipe.cpp @@ -47,7 +47,6 @@ Pipe::~Pipe() signal_flush_required.emit(); sys_close(handle[0]); sys_close(handle[1]); - signal_closed.emit(); } void Pipe::set_block(bool b)