summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2015-06-07 22:34:19 (GMT)
committerTobias Markmann <tm@ayena.de>2015-06-08 09:37:53 (GMT)
commitb6b0695643f932827add43b9de0e09ed74eb6799 (patch)
tree72456efba9fab6fbc6004a98f0a61b7a8167f791 /Swiften/Parser/GenericPayloadTreeParser.h
parent3741c9ad5c0cc6f92e4ed913d67b3b530882334e (diff)
downloadswift-b6b0695643f932827add43b9de0e09ed74eb6799.zip
swift-b6b0695643f932827add43b9de0e09ed74eb6799.tar.bz2
Add missing SWIFTEN_API annotations to public Swiften API
Test-Information: Tested build on Windows 8 with VS 2014 and ran unit tests. Change-Id: I3d8096df4801be6901f22564e36eecba0e7310c4
Diffstat (limited to 'Swiften/Parser/GenericPayloadTreeParser.h')
-rw-r--r--Swiften/Parser/GenericPayloadTreeParser.h5
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 @@
1/* 1/*
2 * Copyright (c) 2011 Isode Limited. 2 * Copyright (c) 2011-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 */
@@ -11,6 +11,7 @@
11#include <boost/shared_ptr.hpp> 11#include <boost/shared_ptr.hpp>
12#include <boost/smart_ptr/make_shared.hpp> 12#include <boost/smart_ptr/make_shared.hpp>
13 13
14#include <Swiften/Base/API.h>
14#include <Swiften/Parser/GenericPayloadParser.h> 15#include <Swiften/Parser/GenericPayloadParser.h>
15#include <Swiften/Parser/Tree/ParserElement.h> 16#include <Swiften/Parser/Tree/ParserElement.h>
16 17
@@ -19,7 +20,7 @@ namespace Swift {
19 * Generic parser offering something a bit like a DOM to work with. 20 * Generic parser offering something a bit like a DOM to work with.
20 */ 21 */
21 template<typename PAYLOAD_TYPE> 22 template<typename PAYLOAD_TYPE>
22 class GenericPayloadTreeParser : public GenericPayloadParser<PAYLOAD_TYPE> { 23 class SWIFTEN_API GenericPayloadTreeParser : public GenericPayloadParser<PAYLOAD_TYPE> {
23 public: 24 public:
24 virtual void handleStartElement(const std::string& element, const std::string& xmlns, const AttributeMap& attributes) { 25 virtual void handleStartElement(const std::string& element, const std::string& xmlns, const AttributeMap& attributes) {
25 if (!root_) { 26 if (!root_) {