diff options
author | Tobias Markmann <tm@ayena.de> | 2015-07-24 15:42:17 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2015-07-24 15:42:17 (GMT) |
commit | 744884d4ed76658880a3d25f6e6551ef92700a8f (patch) | |
tree | 5fd09d05a22a9d2f10ac937e402bd68a23fec4e2 /Swiften/Elements | |
parent | 6ca201d0b48f4273e24dd7bff17c4a46eeaddf39 (diff) | |
download | swift-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/Elements')
-rw-r--r-- | Swiften/Elements/CompressRequest.h | 2 | ||||
-rw-r--r-- | Swiften/Elements/FormReportedRef.h | 2 | ||||
-rw-r--r-- | Swiften/Elements/Whiteboard/WhiteboardPolygonElement.h | 4 |
3 files changed, 7 insertions, 1 deletions
diff --git a/Swiften/Elements/CompressRequest.h b/Swiften/Elements/CompressRequest.h index 4e2a3a4..1c3fb39 100644 --- a/Swiften/Elements/CompressRequest.h +++ b/Swiften/Elements/CompressRequest.h @@ -6,6 +6,8 @@ #pragma once +#include <string> + #include <Swiften/Base/API.h> #include <Swiften/Elements/ToplevelElement.h> diff --git a/Swiften/Elements/FormReportedRef.h b/Swiften/Elements/FormReportedRef.h index b985167..03a89d1 100644 --- a/Swiften/Elements/FormReportedRef.h +++ b/Swiften/Elements/FormReportedRef.h @@ -5,6 +5,8 @@ */ #pragma once +#include <boost/shared_ptr.hpp> + #include <Swiften/Base/API.h> namespace Swift { diff --git a/Swiften/Elements/Whiteboard/WhiteboardPolygonElement.h b/Swiften/Elements/Whiteboard/WhiteboardPolygonElement.h index f885d3b..38bc3e1 100644 --- a/Swiften/Elements/Whiteboard/WhiteboardPolygonElement.h +++ b/Swiften/Elements/Whiteboard/WhiteboardPolygonElement.h @@ -12,9 +12,11 @@ #pragma once +#include <vector> + #include <Swiften/Base/API.h> -#include <Swiften/Elements/Whiteboard/WhiteboardElement.h> #include <Swiften/Elements/Whiteboard/WhiteboardColor.h> +#include <Swiften/Elements/Whiteboard/WhiteboardElement.h> namespace Swift { class SWIFTEN_API WhiteboardPolygonElement : public WhiteboardElement { |