summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2017-06-24 19:24:28 (GMT)
committerTobias Markmann <tm@ayena.de>2017-06-26 04:18:34 (GMT)
commitbd0e671455f6b042bbbd385f1551e9a5011badf5 (patch)
tree9a496a300584d2b09220117af6fb52568102e5ee /Swiften/Component
parent02763529a75970a1d57d9abf3448848f728c4101 (diff)
downloadswift-bd0e671455f6b042bbbd385f1551e9a5011badf5.zip
swift-bd0e671455f6b042bbbd385f1551e9a5011badf5.tar.bz2
Remove unneeded forward declarations from Swiften headers
Found by cppclean. Test-Information: Still builds on macOS 10.12.5 with clang trunk. Change-Id: Ie8a154e12b196587c956c8b333abf529a36f6bb3
Diffstat (limited to 'Swiften/Component')
-rw-r--r--Swiften/Component/ComponentSession.h3
-rw-r--r--Swiften/Component/CoreComponent.h7
2 files changed, 4 insertions, 6 deletions
diff --git a/Swiften/Component/ComponentSession.h b/Swiften/Component/ComponentSession.h
index 9d963a1..dcb9b4a 100644
--- a/Swiften/Component/ComponentSession.h
+++ b/Swiften/Component/ComponentSession.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2016 Isode Limited.
+ * Copyright (c) 2010-2017 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -19,7 +19,6 @@
#include <Swiften/Session/SessionStream.h>
namespace Swift {
- class ComponentAuthenticator;
class CryptoProvider;
class SWIFTEN_API ComponentSession : public std::enable_shared_from_this<ComponentSession> {
diff --git a/Swiften/Component/CoreComponent.h b/Swiften/Component/CoreComponent.h
index 669be97..f673643 100644
--- a/Swiften/Component/CoreComponent.h
+++ b/Swiften/Component/CoreComponent.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2016 Isode Limited.
+ * Copyright (c) 2010-2017 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -26,11 +26,10 @@
#include <Swiften/Serializer/PayloadSerializers/FullPayloadSerializerCollection.h>
namespace Swift {
- class EventLoop;
+ class BasicSessionStream;
+ class ComponentSession;
class IQRouter;
class NetworkFactories;
- class ComponentSession;
- class BasicSessionStream;
/**
* The central class for communicating with an XMPP server as a component.