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/Session
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/Session')
-rw-r--r--Swiften/Session/BOSHSessionStream.h5
-rw-r--r--Swiften/Session/Session.h4
2 files changed, 2 insertions, 7 deletions
diff --git a/Swiften/Session/BOSHSessionStream.h b/Swiften/Session/BOSHSessionStream.h
index 719f1f0..5b730cf 100644
--- a/Swiften/Session/BOSHSessionStream.h
+++ b/Swiften/Session/BOSHSessionStream.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011-2016 Isode Limited.
+ * Copyright (c) 2011-2017 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -18,13 +18,10 @@
#include <Swiften/TLS/TLSOptions.h>
namespace Swift {
- class CompressionLayer;
- class ConnectionLayer;
class EventLoop;
class HTTPTrafficFilter;
class PayloadParserFactoryCollection;
class PayloadSerializerCollection;
- class StreamStack;
class TLSContextFactory;
class TimerFactory;
class XMLParserFactory;
diff --git a/Swiften/Session/Session.h b/Swiften/Session/Session.h
index 23cc656..04153ec 100644
--- a/Swiften/Session/Session.h
+++ b/Swiften/Session/Session.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.
*/
@@ -21,8 +21,6 @@
namespace Swift {
class ProtocolHeader;
class StreamStack;
- class JID;
- class Element;
class PayloadParserFactoryCollection;
class PayloadSerializerCollection;
class XMPPLayer;