summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/StreamStack/LowLayer.cpp')
-rw-r--r--Swiften/StreamStack/LowLayer.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/Swiften/StreamStack/LowLayer.cpp b/Swiften/StreamStack/LowLayer.cpp
index 6df73a2..ca7b72b 100644
--- a/Swiften/StreamStack/LowLayer.cpp
+++ b/Swiften/StreamStack/LowLayer.cpp
@@ -4,11 +4,21 @@
* See Documentation/Licenses/GPLv3.txt for more information.
*/
-#include "Swiften/StreamStack/LowLayer.h"
+#include <Swiften/StreamStack/LowLayer.h>
+
+#include <Swiften/StreamStack/HighLayer.h>
namespace Swift {
+LowLayer::LowLayer() : parentLayer(NULL) {
+}
+
LowLayer::~LowLayer() {
}
+void LowLayer::writeDataToParentLayer(const ByteArray& data) {
+ assert(parentLayer);
+ parentLayer->handleDataRead(data);
+}
+
}