summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2015-07-24 15:42:17 (GMT)
committerTobias Markmann <tm@ayena.de>2015-07-24 15:42:17 (GMT)
commit744884d4ed76658880a3d25f6e6551ef92700a8f (patch)
tree5fd09d05a22a9d2f10ac937e402bd68a23fec4e2 /Swiften/Serializer
parent6ca201d0b48f4273e24dd7bff17c4a46eeaddf39 (diff)
downloadswift-744884d4ed76658880a3d25f6e6551ef92700a8f.zip
swift-744884d4ed76658880a3d25f6e6551ef92700a8f.tar.bz2
Add missing includes for dependencies in public header files
Added Swiften/Base/Concat.h to the exception list for <algorithm> include, as Concat.h uses std::copy, defined in <algorithm>. Added Swiften/FileTransfer/S5BTransportSession.h to the exception list for <boost/bind.hpp> include, as S5BTransportSession.h declares a template class using boost::bind. Test-Information: Tested that each of Swiften's public header files compiles on its own. Change-Id: Iac794b6e0f5959cd8261888a67761813b710fe85
Diffstat (limited to 'Swiften/Serializer')
-rw-r--r--Swiften/Serializer/PayloadSerializers/StartSessionSerializer.h3
-rw-r--r--Swiften/Serializer/XML/XMLTextNode.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/Swiften/Serializer/PayloadSerializers/StartSessionSerializer.h b/Swiften/Serializer/PayloadSerializers/StartSessionSerializer.h
index d629db2..1815955 100644
--- a/Swiften/Serializer/PayloadSerializers/StartSessionSerializer.h
+++ b/Swiften/Serializer/PayloadSerializers/StartSessionSerializer.h
@@ -9,8 +9,9 @@
#include <boost/lexical_cast.hpp>
#include <Swiften/Base/API.h>
-#include <Swiften/Serializer/GenericPayloadSerializer.h>
#include <Swiften/Elements/StartSession.h>
+#include <Swiften/Serializer/GenericPayloadSerializer.h>
+#include <Swiften/Serializer/XML/XMLElement.h>
namespace Swift {
class SWIFTEN_API StartSessionSerializer : public GenericPayloadSerializer<StartSession> {
diff --git a/Swiften/Serializer/XML/XMLTextNode.h b/Swiften/Serializer/XML/XMLTextNode.h
index 65d6459..86efdf1 100644
--- a/Swiften/Serializer/XML/XMLTextNode.h
+++ b/Swiften/Serializer/XML/XMLTextNode.h
@@ -6,9 +6,11 @@
#pragma once
+#include <boost/shared_ptr.hpp>
+
#include <Swiften/Base/API.h>
-#include <Swiften/Serializer/XML/XMLNode.h>
#include <Swiften/Base/String.h>
+#include <Swiften/Serializer/XML/XMLNode.h>
namespace Swift {
class SWIFTEN_API XMLTextNode : public XMLNode {