diff options
Diffstat (limited to 'Swiften/Parser/CompressParser.h')
-rw-r--r-- | Swiften/Parser/CompressParser.h | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/Swiften/Parser/CompressParser.h b/Swiften/Parser/CompressParser.h index 9b22db2..6f0a0cb 100644 --- a/Swiften/Parser/CompressParser.h +++ b/Swiften/Parser/CompressParser.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2015 Isode Limited. + * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -7,23 +7,24 @@ #pragma once #include <string> + #include <Swiften/Base/API.h> -#include <Swiften/Parser/GenericElementParser.h> #include <Swiften/Elements/CompressRequest.h> +#include <Swiften/Parser/GenericElementParser.h> namespace Swift { - class SWIFTEN_API CompressParser : public GenericElementParser<CompressRequest> { - public: - CompressParser(); + class SWIFTEN_API CompressParser : public GenericElementParser<CompressRequest> { + public: + CompressParser(); - private: - void handleStartElement(const std::string& element, const std::string& ns, const AttributeMap& attributes); - void handleEndElement(const std::string& element, const std::string& ns); - void handleCharacterData(const std::string& data); + private: + void handleStartElement(const std::string& element, const std::string& ns, const AttributeMap& attributes); + void handleEndElement(const std::string& element, const std::string& ns); + void handleCharacterData(const std::string& data); - private: - int currentDepth_; - std::string currentText_; - bool inMethod_; - }; + private: + int currentDepth_; + std::string currentText_; + bool inMethod_; + }; } |