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/Tree
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/Tree')
-rw-r--r--Swiften/Parser/Tree/NullParserElement.h5
-rw-r--r--Swiften/Parser/Tree/TreeReparser.h5
2 files changed, 6 insertions, 4 deletions
diff --git a/Swiften/Parser/Tree/NullParserElement.h b/Swiften/Parser/Tree/NullParserElement.h
index d844567..60d8353 100644
--- a/Swiften/Parser/Tree/NullParserElement.h
+++ b/Swiften/Parser/Tree/NullParserElement.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 */
@@ -7,10 +7,11 @@
7#pragma once 7#pragma once
8 8
9#include <string> 9#include <string>
10#include <Swiften/Base/API.h>
10#include <Swiften/Parser/Tree/ParserElement.h> 11#include <Swiften/Parser/Tree/ParserElement.h>
11 12
12namespace Swift { 13namespace Swift {
13 class NullParserElement : public ParserElement { 14 class SWIFTEN_API NullParserElement : public ParserElement {
14 public: 15 public:
15 NullParserElement() : ParserElement("", "", AttributeMap()) {} 16 NullParserElement() : ParserElement("", "", AttributeMap()) {}
16 17
diff --git a/Swiften/Parser/Tree/TreeReparser.h b/Swiften/Parser/Tree/TreeReparser.h
index 8342000..80a326b 100644
--- a/Swiften/Parser/Tree/TreeReparser.h
+++ b/Swiften/Parser/Tree/TreeReparser.h
@@ -1,17 +1,18 @@
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 */
6 6
7#pragma once 7#pragma once
8 8
9#include <Swiften/Base/API.h>
9#include <Swiften/Parser/GenericPayloadTreeParser.h> 10#include <Swiften/Parser/GenericPayloadTreeParser.h>
10#include <Swiften/Parser/PayloadParsers/MUCItemParser.h> 11#include <Swiften/Parser/PayloadParsers/MUCItemParser.h>
11 12
12namespace Swift { 13namespace Swift {
13 class PayloadParserFactoryCollection; 14 class PayloadParserFactoryCollection;
14 class TreeReparser { 15 class SWIFTEN_API TreeReparser {
15 public: 16 public:
16 static boost::shared_ptr<Payload> parseTree(ParserElement::ref root, PayloadParserFactoryCollection* collection); 17 static boost::shared_ptr<Payload> parseTree(ParserElement::ref root, PayloadParserFactoryCollection* collection);
17 18