summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/StreamStack/ConnectionLayer.h')
-rw-r--r--Swiften/StreamStack/ConnectionLayer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Swiften/StreamStack/ConnectionLayer.h b/Swiften/StreamStack/ConnectionLayer.h
index 8ccd33c..6776751 100644
--- a/Swiften/StreamStack/ConnectionLayer.h
+++ b/Swiften/StreamStack/ConnectionLayer.h
@@ -16,12 +16,15 @@ namespace Swift {
public:
ConnectionLayer(boost::shared_ptr<Connection> connection);
~ConnectionLayer();
void writeData(const SafeByteArray& data) {
connection->write(data);
}
private:
+ void handleDataRead(boost::shared_ptr<SafeByteArray>);
+
+ private:
boost::shared_ptr<Connection> connection;
};
}