diff options
Diffstat (limited to 'Swiften/Parser/PayloadParsers/JingleIBBTransportMethodPayloadParser.h')
| -rw-r--r-- | Swiften/Parser/PayloadParsers/JingleIBBTransportMethodPayloadParser.h | 23 | 
1 files changed, 15 insertions, 8 deletions
| diff --git a/Swiften/Parser/PayloadParsers/JingleIBBTransportMethodPayloadParser.h b/Swiften/Parser/PayloadParsers/JingleIBBTransportMethodPayloadParser.h index 311cc5b..e406b9f 100644 --- a/Swiften/Parser/PayloadParsers/JingleIBBTransportMethodPayloadParser.h +++ b/Swiften/Parser/PayloadParsers/JingleIBBTransportMethodPayloadParser.h @@ -4,23 +4,30 @@   * See Documentation/Licenses/BSD-simplified.txt for more information.   */ +/* + * Copyright (c) 2015 Isode Limited. + * All rights reserved. + * See the COPYING file for more information. + */ +  #pragma once +#include <Swiften/Base/API.h>  #include <Swiften/Elements/JingleIBBTransportPayload.h>  #include <Swiften/Parser/GenericPayloadParser.h>  namespace Swift { -class JingleIBBTransportMethodPayloadParser : public GenericPayloadParser<JingleIBBTransportPayload> { -	public: -		JingleIBBTransportMethodPayloadParser(); +class SWIFTEN_API JingleIBBTransportMethodPayloadParser : public GenericPayloadParser<JingleIBBTransportPayload> { +    public: +        JingleIBBTransportMethodPayloadParser(); -		virtual void handleStartElement(const std::string& element, const std::string&, const AttributeMap& attributes); -		virtual void handleEndElement(const std::string& element, const std::string&); -		virtual void handleCharacterData(const std::string& data);	 +        virtual void handleStartElement(const std::string& element, const std::string&, const AttributeMap& attributes); +        virtual void handleEndElement(const std::string& element, const std::string&); +        virtual void handleCharacterData(const std::string& data); -	private: -		int level; +    private: +        int level;  };  } | 
 Swift
 Swift