diff options
Diffstat (limited to 'Swiften/Parser/CompressParser.h')
-rw-r--r-- | Swiften/Parser/CompressParser.h | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/Swiften/Parser/CompressParser.h b/Swiften/Parser/CompressParser.h index 51244c4..6f0a0cb 100644 --- a/Swiften/Parser/CompressParser.h +++ b/Swiften/Parser/CompressParser.h @@ -1,28 +1,30 @@ /* - * Copyright (c) 2010 Remko Tronçon - * Licensed under the GNU General Public License v3. - * See Documentation/Licenses/GPLv3.txt for more information. + * Copyright (c) 2010-2016 Isode Limited. + * All rights reserved. + * See the COPYING file for more information. */ #pragma once #include <string> -#include <Swiften/Parser/GenericElementParser.h> + +#include <Swiften/Base/API.h> #include <Swiften/Elements/CompressRequest.h> +#include <Swiften/Parser/GenericElementParser.h> namespace Swift { - class 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_; + }; } |