diff options
Diffstat (limited to 'Swiften/Parser/ComponentHandshakeParser.h')
-rw-r--r-- | Swiften/Parser/ComponentHandshakeParser.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/Swiften/Parser/ComponentHandshakeParser.h b/Swiften/Parser/ComponentHandshakeParser.h index 61739d9..5f4af80 100644 --- a/Swiften/Parser/ComponentHandshakeParser.h +++ b/Swiften/Parser/ComponentHandshakeParser.h @@ -1,27 +1,28 @@ /* - * Copyright (c) 2010-2015 Isode Limited. + * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once +#include <string> + #include <Swiften/Base/API.h> -#include <Swiften/Parser/GenericElementParser.h> #include <Swiften/Elements/ComponentHandshake.h> -#include <string> +#include <Swiften/Parser/GenericElementParser.h> namespace Swift { - class SWIFTEN_API ComponentHandshakeParser : public GenericElementParser<ComponentHandshake> { - public: - ComponentHandshakeParser(); + class SWIFTEN_API ComponentHandshakeParser : public GenericElementParser<ComponentHandshake> { + public: + ComponentHandshakeParser(); - virtual void handleStartElement(const std::string&, const std::string& ns, const AttributeMap&); - virtual void handleEndElement(const std::string&, const std::string& ns); - virtual void handleCharacterData(const std::string&); + virtual void handleStartElement(const std::string&, const std::string& ns, const AttributeMap&); + virtual void handleEndElement(const std::string&, const std::string& ns); + virtual void handleCharacterData(const std::string&); - private: - int depth; - std::string text; - }; + private: + int depth; + std::string text; + }; } |