diff options
Diffstat (limited to 'Swiften/Parser/AuthSuccessParser.h')
-rw-r--r-- | Swiften/Parser/AuthSuccessParser.h | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/Swiften/Parser/AuthSuccessParser.h b/Swiften/Parser/AuthSuccessParser.h index b726b95..cedc8d1 100644 --- a/Swiften/Parser/AuthSuccessParser.h +++ b/Swiften/Parser/AuthSuccessParser.h @@ -1,26 +1,28 @@ /* - * 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 <Swiften/Parser/GenericElementParser.h> -#include <Swiften/Elements/AuthSuccess.h> #include <string> +#include <Swiften/Base/API.h> +#include <Swiften/Elements/AuthSuccess.h> +#include <Swiften/Parser/GenericElementParser.h> + namespace Swift { - class AuthSuccessParser : public GenericElementParser<AuthSuccess> { - public: - AuthSuccessParser(); + class SWIFTEN_API AuthSuccessParser : public GenericElementParser<AuthSuccess> { + public: + AuthSuccessParser(); - 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; + }; } |