summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Parser/StanzaParser.h')
-rw-r--r--Swiften/Parser/StanzaParser.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Swiften/Parser/StanzaParser.h b/Swiften/Parser/StanzaParser.h
index 6887981..fc60b47 100644
--- a/Swiften/Parser/StanzaParser.h
+++ b/Swiften/Parser/StanzaParser.h
@@ -1,4 +1,4 @@
/*
- * Copyright (c) 2010 Remko Tronçon
+ * Copyright (c) 2010-2014 Remko Tronçon
* Licensed under the GNU General Public License v3.
* See Documentation/Licenses/GPLv3.txt for more information.
@@ -10,4 +10,5 @@
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/API.h>
#include <string>
#include <Swiften/Elements/Stanza.h>
@@ -19,5 +20,5 @@ namespace Swift {
class PayloadParserFactoryCollection;
- class StanzaParser : public ElementParser, public boost::noncopyable {
+ class SWIFTEN_API StanzaParser : public ElementParser, public boost::noncopyable {
public:
StanzaParser(PayloadParserFactoryCollection* factories);
@@ -28,5 +29,5 @@ namespace Swift {
void handleCharacterData(const std::string& data);
- virtual boost::shared_ptr<Element> getElement() const = 0;
+ virtual boost::shared_ptr<ToplevelElement> getElement() const = 0;
virtual void handleStanzaAttributes(const AttributeMap&) {}