summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Parser/UnknownPayloadParser.h')
-rw-r--r--Swiften/Parser/UnknownPayloadParser.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/Swiften/Parser/UnknownPayloadParser.h b/Swiften/Parser/UnknownPayloadParser.h
index 0843f41..1553704 100644
--- a/Swiften/Parser/UnknownPayloadParser.h
+++ b/Swiften/Parser/UnknownPayloadParser.h
@@ -1,26 +1,27 @@
/*
- * Copyright (c) 2010 Remko Tronçon
- * Licensed under the GNU General Public License v3.
- * See Documentation/Licenses/GPLv3.txt for more information.
+ * Copyright (c) 2010-2016 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
*/
#pragma once
-#include <boost/shared_ptr.hpp>
+#include <memory>
+#include <Swiften/Base/API.h>
#include <Swiften/Parser/PayloadParser.h>
namespace Swift {
- class UnknownPayloadParser : public PayloadParser {
- public:
- UnknownPayloadParser() {}
+ class SWIFTEN_API UnknownPayloadParser : public PayloadParser {
+ public:
+ UnknownPayloadParser() {}
- virtual void handleStartElement(const std::string&, const std::string&, const AttributeMap&) {}
- virtual void handleEndElement(const std::string&, const std::string&) {}
- virtual void handleCharacterData(const std::string&) {}
+ virtual void handleStartElement(const std::string&, const std::string&, const AttributeMap&) {}
+ virtual void handleEndElement(const std::string&, const std::string&) {}
+ virtual void handleCharacterData(const std::string&) {}
- virtual boost::shared_ptr<Payload> getPayload() const {
- return boost::shared_ptr<Payload>();
- }
- };
+ virtual std::shared_ptr<Payload> getPayload() const {
+ return std::shared_ptr<Payload>();
+ }
+ };
}