diff options
Diffstat (limited to 'Swiften/Parser/GenericElementParser.h')
-rw-r--r-- | Swiften/Parser/GenericElementParser.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Swiften/Parser/GenericElementParser.h b/Swiften/Parser/GenericElementParser.h index 274153f..9cdec23 100644 --- a/Swiften/Parser/GenericElementParser.h +++ b/Swiften/Parser/GenericElementParser.h @@ -1,25 +1,26 @@ /* - * Copyright (c) 2010-2014 Isode Limited. + * Copyright (c) 2010-2015 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once #include <boost/shared_ptr.hpp> #include <boost/smart_ptr/make_shared.hpp> +#include <Swiften/Base/API.h> #include <Swiften/Parser/ElementParser.h> namespace Swift { class PayloadParserFactoryCollection; template<typename ElementType> - class GenericElementParser : public ElementParser { + class SWIFTEN_API GenericElementParser : public ElementParser { public: GenericElementParser() { stanza_ = boost::make_shared<ElementType>(); } virtual boost::shared_ptr<ToplevelElement> getElement() const { |