diff options
Diffstat (limited to 'Swiften/Parser/StreamResumedParser.h')
-rw-r--r-- | Swiften/Parser/StreamResumedParser.h | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/Swiften/Parser/StreamResumedParser.h b/Swiften/Parser/StreamResumedParser.h index f2377aa..ca89597 100644 --- a/Swiften/Parser/StreamResumedParser.h +++ b/Swiften/Parser/StreamResumedParser.h @@ -1,27 +1,28 @@ /* - * Copyright (c) 2011 Remko Tronçon - * Licensed under the GNU General Public License v3. - * See Documentation/Licenses/GPLv3.txt for more information. + * Copyright (c) 2011-2016 Isode Limited. + * All rights reserved. + * See the COPYING file for more information. */ #pragma once -#include <Swiften/Parser/GenericElementParser.h> +#include <Swiften/Base/API.h> #include <Swiften/Elements/StreamResumed.h> +#include <Swiften/Parser/GenericElementParser.h> namespace Swift { - class StreamResumedParser : public GenericElementParser<StreamResumed> { - public: - StreamResumedParser(); - ~StreamResumedParser(); + class SWIFTEN_API StreamResumedParser : public GenericElementParser<StreamResumed> { + public: + StreamResumedParser(); + ~StreamResumedParser(); - virtual void handleStartElement(const std::string&, const std::string&, const AttributeMap&); - virtual void handleEndElement(const std::string&, const std::string&); + virtual void handleStartElement(const std::string&, const std::string&, const AttributeMap&); + virtual void handleEndElement(const std::string&, const std::string&); - private: - enum Level { - TopLevel = 0 - }; - int level; - }; + private: + enum Level { + TopLevel = 0 + }; + int level; + }; } |