diff options
Diffstat (limited to 'Swiften/StreamStack/DummyStreamLayer.h')
-rw-r--r-- | Swiften/StreamStack/DummyStreamLayer.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Swiften/StreamStack/DummyStreamLayer.h b/Swiften/StreamStack/DummyStreamLayer.h index b06c8aa..5a93b7f 100644 --- a/Swiften/StreamStack/DummyStreamLayer.h +++ b/Swiften/StreamStack/DummyStreamLayer.h @@ -11,20 +11,20 @@ #include <Swiften/StreamStack/LowLayer.h> namespace Swift { - /** - * The \ref DummyStreamLayer can be used to use a \ref LowLayer on its own, without a functioning parent layer. - * The \ref DummyStreamLayer will serve as the parent layer to the \ref LowLayer and is called when the \ref LowLayer - * wants to write data to its parent layer. - */ - class SWIFTEN_API DummyStreamLayer : public HighLayer { - public: - DummyStreamLayer(LowLayer* lowLayer) { - setChildLayer(lowLayer); - lowLayer->setParentLayer(this); - } + /** + * The \ref DummyStreamLayer can be used to use a \ref LowLayer on its own, without a functioning parent layer. + * The \ref DummyStreamLayer will serve as the parent layer to the \ref LowLayer and is called when the \ref LowLayer + * wants to write data to its parent layer. + */ + class SWIFTEN_API DummyStreamLayer : public HighLayer { + public: + DummyStreamLayer(LowLayer* lowLayer) { + setChildLayer(lowLayer); + lowLayer->setParentLayer(this); + } - virtual void handleDataRead(const SafeByteArray& /* data */) { + virtual void handleDataRead(const SafeByteArray& /* data */) { - } - }; + } + }; } |