summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Parser/GenericElementParser.h')
-rw-r--r--Swiften/Parser/GenericElementParser.h5
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,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2010-2014 Isode Limited. 2 * Copyright (c) 2010-2015 Isode Limited.
3 * All rights reserved. 3 * All rights reserved.
4 * See the COPYING file for more information. 4 * See the COPYING file for more information.
5 */ 5 */
@@ -9,6 +9,7 @@
9#include <boost/shared_ptr.hpp> 9#include <boost/shared_ptr.hpp>
10#include <boost/smart_ptr/make_shared.hpp> 10#include <boost/smart_ptr/make_shared.hpp>
11 11
12#include <Swiften/Base/API.h>
12#include <Swiften/Parser/ElementParser.h> 13#include <Swiften/Parser/ElementParser.h>
13 14
14namespace Swift { 15namespace Swift {
@@ -16,7 +17,7 @@ namespace Swift {
16 class PayloadParserFactoryCollection; 17 class PayloadParserFactoryCollection;
17 18
18 template<typename ElementType> 19 template<typename ElementType>
19 class GenericElementParser : public ElementParser { 20 class SWIFTEN_API GenericElementParser : public ElementParser {
20 public: 21 public:
21 GenericElementParser() { 22 GenericElementParser() {
22 stanza_ = boost::make_shared<ElementType>(); 23 stanza_ = boost::make_shared<ElementType>();