diff options
Diffstat (limited to 'Swiften/StreamStack/HighLayer.cpp')
-rw-r--r-- | Swiften/StreamStack/HighLayer.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Swiften/StreamStack/HighLayer.cpp b/Swiften/StreamStack/HighLayer.cpp index 78b890e..da1eec9 100644 --- a/Swiften/StreamStack/HighLayer.cpp +++ b/Swiften/StreamStack/HighLayer.cpp @@ -4,11 +4,21 @@ * See Documentation/Licenses/GPLv3.txt for more information. */ -#include "Swiften/StreamStack/HighLayer.h" +#include <Swiften/StreamStack/HighLayer.h> + +#include <Swiften/StreamStack/LowLayer.h> namespace Swift { +HighLayer::HighLayer() : childLayer(NULL) { +} + HighLayer::~HighLayer() { } +void HighLayer::writeDataToChildLayer(const ByteArray& data) { + assert(childLayer); + childLayer->writeData(data); +} + } |