summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/StreamStack/XMPPLayer.h')
-rw-r--r--Swiften/StreamStack/XMPPLayer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Swiften/StreamStack/XMPPLayer.h b/Swiften/StreamStack/XMPPLayer.h
index 0df1f14..7316afe 100644
--- a/Swiften/StreamStack/XMPPLayer.h
+++ b/Swiften/StreamStack/XMPPLayer.h
@@ -12,6 +12,7 @@
#include "Swiften/Base/ByteArray.h"
#include "Swiften/Elements/Element.h"
+#include "Swiften/Elements/StreamType.h"
#include "Swiften/Parser/XMPPParserClient.h"
namespace Swift {
@@ -25,7 +26,8 @@ namespace Swift {
public:
XMPPLayer(
PayloadParserFactoryCollection* payloadParserFactories,
- PayloadSerializerCollection* payloadSerializers);
+ PayloadSerializerCollection* payloadSerializers,
+ StreamType streamType);
~XMPPLayer();
void writeHeader(const ProtocolHeader& header);