summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2016-04-04 13:24:01 (GMT)
committerTobias Markmann <tm@ayena.de>2016-04-04 13:24:39 (GMT)
commit4f3821a090931499b9c68b3b3ad785a98ea9d742 (patch)
treed73db72ce5dc3c547ceb56fa9522ce8f6f3e1336 /Swift/Controllers
parent741c45b74d5f634622eb5f757c49323274fb8937 (diff)
downloadswift-4f3821a090931499b9c68b3b3ad785a98ea9d742.zip
swift-4f3821a090931499b9c68b3b3ad785a98ea9d742.tar.bz2
Apply automated clang-tidy fixes and add missing includes
Test-Information: Builds on OS X 10.11.4 and unit tests pass. Change-Id: I8775e8d1e3addbc88b220c1cc618637f706daca2
Diffstat (limited to 'Swift/Controllers')
-rw-r--r--Swift/Controllers/Roster/ItemOperations/RosterItemOperation.h2
-rw-r--r--Swift/Controllers/Settings/DummySettingsProvider.h2
-rw-r--r--Swift/Controllers/Storages/CertificateFileStorageFactory.h2
-rw-r--r--Swift/Controllers/UIEvents/AddContactUIEvent.h2
-rw-r--r--Swift/Controllers/UIEvents/CreateImpromptuMUCUIEvent.h11
-rw-r--r--Swift/Controllers/UIEvents/RequestAdHocWithJIDUIEvent.h4
-rw-r--r--Swift/Controllers/UIInterfaces/WhiteboardWindowFactory.h2
7 files changed, 25 insertions, 0 deletions
diff --git a/Swift/Controllers/Roster/ItemOperations/RosterItemOperation.h b/Swift/Controllers/Roster/ItemOperations/RosterItemOperation.h
index 76227c0..c633c20 100644
--- a/Swift/Controllers/Roster/ItemOperations/RosterItemOperation.h
+++ b/Swift/Controllers/Roster/ItemOperations/RosterItemOperation.h
@@ -6,6 +6,8 @@
#pragma once
+#include <Swiften/JID/JID.h>
+
#include <Swift/Controllers/Roster/RosterItem.h>
namespace Swift {
diff --git a/Swift/Controllers/Settings/DummySettingsProvider.h b/Swift/Controllers/Settings/DummySettingsProvider.h
index 63c0767..134aadc 100644
--- a/Swift/Controllers/Settings/DummySettingsProvider.h
+++ b/Swift/Controllers/Settings/DummySettingsProvider.h
@@ -7,6 +7,8 @@
#pragma once
#include <map>
+#include <set>
+#include <string>
#include <Swift/Controllers/Settings/SettingsProvider.h>
diff --git a/Swift/Controllers/Storages/CertificateFileStorageFactory.h b/Swift/Controllers/Storages/CertificateFileStorageFactory.h
index 8ab99f4..6f466dc 100644
--- a/Swift/Controllers/Storages/CertificateFileStorageFactory.h
+++ b/Swift/Controllers/Storages/CertificateFileStorageFactory.h
@@ -6,6 +6,8 @@
#pragma once
+#include <Swiften/JID/JID.h>
+
#include <Swift/Controllers/Storages/CertificateFileStorage.h>
#include <Swift/Controllers/Storages/CertificateStorageFactory.h>
diff --git a/Swift/Controllers/UIEvents/AddContactUIEvent.h b/Swift/Controllers/UIEvents/AddContactUIEvent.h
index d2176ac..df5bf36 100644
--- a/Swift/Controllers/UIEvents/AddContactUIEvent.h
+++ b/Swift/Controllers/UIEvents/AddContactUIEvent.h
@@ -9,6 +9,8 @@
#include <set>
#include <string>
+#include <Swiften/JID/JID.h>
+
#include <Swift/Controllers/UIEvents/UIEvent.h>
namespace Swift {
diff --git a/Swift/Controllers/UIEvents/CreateImpromptuMUCUIEvent.h b/Swift/Controllers/UIEvents/CreateImpromptuMUCUIEvent.h
index b566be6..22ce926 100644
--- a/Swift/Controllers/UIEvents/CreateImpromptuMUCUIEvent.h
+++ b/Swift/Controllers/UIEvents/CreateImpromptuMUCUIEvent.h
@@ -4,8 +4,19 @@
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
+/*
+ * Copyright (c) 2016 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
+
#pragma once
+#include <string>
+#include <vector>
+
+#include <Swiften/JID/JID.h>
+
#include <Swift/Controllers/UIEvents/UIEvent.h>
namespace Swift {
diff --git a/Swift/Controllers/UIEvents/RequestAdHocWithJIDUIEvent.h b/Swift/Controllers/UIEvents/RequestAdHocWithJIDUIEvent.h
index 8d8bd19..6fe2342 100644
--- a/Swift/Controllers/UIEvents/RequestAdHocWithJIDUIEvent.h
+++ b/Swift/Controllers/UIEvents/RequestAdHocWithJIDUIEvent.h
@@ -6,6 +6,10 @@
#pragma once
+#include <string>
+
+#include <Swiften/JID/JID.h>
+
#include <Swift/Controllers/UIEvents/UIEvent.h>
namespace Swift {
diff --git a/Swift/Controllers/UIInterfaces/WhiteboardWindowFactory.h b/Swift/Controllers/UIInterfaces/WhiteboardWindowFactory.h
index 0153a5a..9868ceb 100644
--- a/Swift/Controllers/UIInterfaces/WhiteboardWindowFactory.h
+++ b/Swift/Controllers/UIInterfaces/WhiteboardWindowFactory.h
@@ -12,6 +12,8 @@
#pragma once
+#include <memory>
+
namespace Swift {
class WhiteboardSession;
class WhiteboardWindow;