summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/FileTransfer/WriteBytestream.h')
-rw-r--r--Swiften/FileTransfer/WriteBytestream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/FileTransfer/WriteBytestream.h b/Swiften/FileTransfer/WriteBytestream.h
index 5d9c3f8..5452317 100644
--- a/Swiften/FileTransfer/WriteBytestream.h
+++ b/Swiften/FileTransfer/WriteBytestream.h
@@ -26,6 +26,7 @@ namespace Swift {
* On success true is returned and \ref onWrite is called. On failure false is returned.
*/
virtual bool write(const std::vector<unsigned char>&) = 0;
+ virtual void close() {}
boost::signals2::signal<void (const std::vector<unsigned char>&)> onWrite;
};