diff options
author | Tobias Markmann <tm@ayena.de> | 2016-03-29 17:27:10 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2016-03-30 11:24:00 (GMT) |
commit | 5de19b60ae5593adbc3d913f9c64162e21bc702a (patch) | |
tree | 07d3e7a9e6105609858931154ee7fbfc599bd34a /Limber/Server | |
parent | 74e51310d27e9d9a66d2d790360549c48abec8d1 (diff) | |
download | swift-5de19b60ae5593adbc3d913f9c64162e21bc702a.zip swift-5de19b60ae5593adbc3d913f9c64162e21bc702a.tar.bz2 |
Apply consistent #include grouping and sorting style
Changed "" style includes to <> style.
Test-Information:
Build with Clang 3.9.0 and ran all tests on OS X 10.11.4.
Change-Id: Ic05e53f2e5dba39cc1307b116fc5f17b62ab9eb8
Diffstat (limited to 'Limber/Server')
-rw-r--r-- | Limber/Server/ServerFromClientSession.cpp | 31 | ||||
-rw-r--r-- | Limber/Server/ServerFromClientSession.h | 11 | ||||
-rw-r--r-- | Limber/Server/ServerSession.cpp | 4 | ||||
-rw-r--r-- | Limber/Server/ServerStanzaRouter.cpp | 10 | ||||
-rw-r--r-- | Limber/Server/ServerStanzaRouter.h | 7 | ||||
-rw-r--r-- | Limber/Server/SimpleUserRegistry.cpp | 4 | ||||
-rw-r--r-- | Limber/Server/SimpleUserRegistry.h | 7 | ||||
-rw-r--r-- | Limber/Server/UnitTest/ServerStanzaRouterTest.cpp | 9 | ||||
-rw-r--r-- | Limber/Server/UserRegistry.cpp | 4 | ||||
-rw-r--r-- | Limber/Server/UserRegistry.h | 3 |
10 files changed, 49 insertions, 41 deletions
diff --git a/Limber/Server/ServerFromClientSession.cpp b/Limber/Server/ServerFromClientSession.cpp index 052ea9b..ab596a1 100644 --- a/Limber/Server/ServerFromClientSession.cpp +++ b/Limber/Server/ServerFromClientSession.cpp @@ -1,26 +1,27 @@ /* - * Copyright (c) 2010-2014 Isode Limited. + * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ -#include "Limber/Server/ServerFromClientSession.h" +#include <Limber/Server/ServerFromClientSession.h> -#include <boost/smart_ptr/make_shared.hpp> #include <boost/bind.hpp> +#include <boost/smart_ptr/make_shared.hpp> + +#include <Swiften/Elements/AuthFailure.h> +#include <Swiften/Elements/AuthRequest.h> +#include <Swiften/Elements/AuthSuccess.h> +#include <Swiften/Elements/IQ.h> +#include <Swiften/Elements/ProtocolHeader.h> +#include <Swiften/Elements/ResourceBind.h> +#include <Swiften/Elements/StartSession.h> +#include <Swiften/Elements/StreamFeatures.h> +#include <Swiften/Network/Connection.h> +#include <Swiften/SASL/PLAINMessage.h> +#include <Swiften/StreamStack/XMPPLayer.h> -#include "Swiften/Elements/ProtocolHeader.h" -#include "Limber/Server/UserRegistry.h" -#include "Swiften/Network/Connection.h" -#include "Swiften/StreamStack/XMPPLayer.h" -#include "Swiften/Elements/StreamFeatures.h" -#include "Swiften/Elements/ResourceBind.h" -#include "Swiften/Elements/StartSession.h" -#include "Swiften/Elements/IQ.h" -#include "Swiften/Elements/AuthSuccess.h" -#include "Swiften/Elements/AuthFailure.h" -#include "Swiften/Elements/AuthRequest.h" -#include "Swiften/SASL/PLAINMessage.h" +#include <Limber/Server/UserRegistry.h> namespace Swift { diff --git a/Limber/Server/ServerFromClientSession.h b/Limber/Server/ServerFromClientSession.h index 8b03569..7d6907c 100644 --- a/Limber/Server/ServerFromClientSession.h +++ b/Limber/Server/ServerFromClientSession.h @@ -1,20 +1,21 @@ /* - * Copyright (c) 2010-2014 Isode Limited. + * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once -#include <boost/shared_ptr.hpp> -#include <boost/enable_shared_from_this.hpp> #include <string> +#include <boost/enable_shared_from_this.hpp> +#include <boost/shared_ptr.hpp> + +#include <Swiften/Base/ByteArray.h> #include <Swiften/Base/boost_bsignals.h> -#include <Swiften/Session/Session.h> #include <Swiften/JID/JID.h> #include <Swiften/Network/Connection.h> -#include <Swiften/Base/ByteArray.h> +#include <Swiften/Session/Session.h> namespace Swift { class ProtocolHeader; diff --git a/Limber/Server/ServerSession.cpp b/Limber/Server/ServerSession.cpp index 5f07619..a18a60f 100644 --- a/Limber/Server/ServerSession.cpp +++ b/Limber/Server/ServerSession.cpp @@ -1,10 +1,10 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ -#include "Limber/Server/ServerSession.h" +#include <Limber/Server/ServerSession.h> namespace Swift { diff --git a/Limber/Server/ServerStanzaRouter.cpp b/Limber/Server/ServerStanzaRouter.cpp index 02ddb4d..d0896a0 100644 --- a/Limber/Server/ServerStanzaRouter.cpp +++ b/Limber/Server/ServerStanzaRouter.cpp @@ -1,16 +1,18 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ -#include "Limber/Server/ServerStanzaRouter.h" -#include "Limber/Server/ServerSession.h" +#include <Limber/Server/ServerStanzaRouter.h> -#include <cassert> #include <algorithm> +#include <cassert> + #include <Swiften/Base/Algorithm.h> +#include <Limber/Server/ServerSession.h> + namespace Swift { namespace { diff --git a/Limber/Server/ServerStanzaRouter.h b/Limber/Server/ServerStanzaRouter.h index 5f0ad31..a9cc494 100644 --- a/Limber/Server/ServerStanzaRouter.h +++ b/Limber/Server/ServerStanzaRouter.h @@ -1,16 +1,17 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once -#include <boost/shared_ptr.hpp> #include <map> -#include <Swiften/JID/JID.h> +#include <boost/shared_ptr.hpp> + #include <Swiften/Elements/Stanza.h> +#include <Swiften/JID/JID.h> namespace Swift { class ServerSession; diff --git a/Limber/Server/SimpleUserRegistry.cpp b/Limber/Server/SimpleUserRegistry.cpp index 2fb2d9e..dd6c112 100644 --- a/Limber/Server/SimpleUserRegistry.cpp +++ b/Limber/Server/SimpleUserRegistry.cpp @@ -1,10 +1,10 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ -#include "Limber/Server/SimpleUserRegistry.h" +#include <Limber/Server/SimpleUserRegistry.h> namespace Swift { diff --git a/Limber/Server/SimpleUserRegistry.h b/Limber/Server/SimpleUserRegistry.h index bcf194d..8287a14 100644 --- a/Limber/Server/SimpleUserRegistry.h +++ b/Limber/Server/SimpleUserRegistry.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -7,10 +7,11 @@ #pragma once #include <map> +#include <string> #include <Swiften/JID/JID.h> -#include <string> -#include "Limber/Server/UserRegistry.h" + +#include <Limber/Server/UserRegistry.h> namespace Swift { diff --git a/Limber/Server/UnitTest/ServerStanzaRouterTest.cpp b/Limber/Server/UnitTest/ServerStanzaRouterTest.cpp index a300b85..2e7293b 100644 --- a/Limber/Server/UnitTest/ServerStanzaRouterTest.cpp +++ b/Limber/Server/UnitTest/ServerStanzaRouterTest.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -7,9 +7,10 @@ #include <cppunit/extensions/HelperMacros.h> #include <cppunit/extensions/TestFactoryRegistry.h> -#include "Swiften/Elements/Message.h" -#include "Limber/Server/ServerStanzaRouter.h" -#include "Limber/Server/ServerSession.h" +#include <Swiften/Elements/Message.h> + +#include <Limber/Server/ServerSession.h> +#include <Limber/Server/ServerStanzaRouter.h> using namespace Swift; diff --git a/Limber/Server/UserRegistry.cpp b/Limber/Server/UserRegistry.cpp index 51e5129..bd5d189 100644 --- a/Limber/Server/UserRegistry.cpp +++ b/Limber/Server/UserRegistry.cpp @@ -1,10 +1,10 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ -#include "Limber/Server/UserRegistry.h" +#include <Limber/Server/UserRegistry.h> namespace Swift { diff --git a/Limber/Server/UserRegistry.h b/Limber/Server/UserRegistry.h index d7da38b..812b218 100644 --- a/Limber/Server/UserRegistry.h +++ b/Limber/Server/UserRegistry.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -7,6 +7,7 @@ #pragma once #include <string> + #include <Swiften/Base/SafeByteArray.h> namespace Swift { |