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/LinkLocal
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/LinkLocal')
-rw-r--r--Swiften/LinkLocal/DNSSD/Fake/FakeDNSSDQuerier.h3
-rw-r--r--Swiften/LinkLocal/LinkLocalConnector.h9
-rw-r--r--Swiften/LinkLocal/OutgoingLinkLocalSession.h7
3 files changed, 7 insertions, 12 deletions
diff --git a/Swiften/LinkLocal/DNSSD/Fake/FakeDNSSDQuerier.h b/Swiften/LinkLocal/DNSSD/Fake/FakeDNSSDQuerier.h
index 633ca6d..5d4fefd 100644
--- a/Swiften/LinkLocal/DNSSD/Fake/FakeDNSSDQuerier.h
+++ b/Swiften/LinkLocal/DNSSD/Fake/FakeDNSSDQuerier.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.
*/
@@ -20,7 +20,6 @@
namespace Swift {
class FakeDNSSDQuery;
- class FakeDNSSDBrowseQuery;
class EventLoop;
class SWIFTEN_API FakeDNSSDQuerier :
diff --git a/Swiften/LinkLocal/LinkLocalConnector.h b/Swiften/LinkLocal/LinkLocalConnector.h
index 2c49185..044b74f 100644
--- a/Swiften/LinkLocal/LinkLocalConnector.h
+++ b/Swiften/LinkLocal/LinkLocalConnector.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.
*/
@@ -16,13 +16,10 @@
#include <Swiften/Network/Connection.h>
namespace Swift {
- class ConnectionFactory;
- class HostAddress;
- class ToplevelElement;
- class PayloadParserFactoryCollection;
- class PayloadSerializerCollection;
class DNSSDQuerier;
class DNSSDResolveHostnameQuery;
+ class HostAddress;
+ class ToplevelElement;
class SWIFTEN_API LinkLocalConnector : public std::enable_shared_from_this<LinkLocalConnector> {
public:
diff --git a/Swiften/LinkLocal/OutgoingLinkLocalSession.h b/Swiften/LinkLocal/OutgoingLinkLocalSession.h
index 34f7af9..93f8c9d 100644
--- a/Swiften/LinkLocal/OutgoingLinkLocalSession.h
+++ b/Swiften/LinkLocal/OutgoingLinkLocalSession.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.
*/
@@ -16,11 +16,10 @@
#include <Swiften/Session/Session.h>
namespace Swift {
- class ConnectionFactory;
- class XMLParserFactory;
- class ToplevelElement;
class PayloadParserFactoryCollection;
class PayloadSerializerCollection;
+ class ToplevelElement;
+ class XMLParserFactory;
class SWIFTEN_API OutgoingLinkLocalSession : public Session {
public: