diff options
Diffstat (limited to 'Swiften/Parser/GenericPayloadTreeParser.h')
| -rw-r--r-- | Swiften/Parser/GenericPayloadTreeParser.h | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/Swiften/Parser/GenericPayloadTreeParser.h b/Swiften/Parser/GenericPayloadTreeParser.h index bdac85f..d90903c 100644 --- a/Swiften/Parser/GenericPayloadTreeParser.h +++ b/Swiften/Parser/GenericPayloadTreeParser.h @@ -1,5 +1,5 @@  /* - * Copyright (c) 2011 Isode Limited. + * Copyright (c) 2011-2015 Isode Limited.   * All rights reserved.   * See the COPYING file for more information.   */ @@ -11,6 +11,7 @@  #include <boost/shared_ptr.hpp>  #include <boost/smart_ptr/make_shared.hpp> +#include <Swiften/Base/API.h>  #include <Swiften/Parser/GenericPayloadParser.h>  #include <Swiften/Parser/Tree/ParserElement.h> @@ -19,7 +20,7 @@ namespace Swift {  	 * Generic parser offering something a bit like a DOM to work with.  	 */  	template<typename PAYLOAD_TYPE> -	class GenericPayloadTreeParser : public GenericPayloadParser<PAYLOAD_TYPE> { +	class SWIFTEN_API GenericPayloadTreeParser : public GenericPayloadParser<PAYLOAD_TYPE> {  		public:  			virtual void handleStartElement(const std::string& element, const std::string& xmlns, const AttributeMap& attributes) {  				if (!root_) {  | 
 Swift