summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Parser/PlatformXMLParserFactory.h')
-rw-r--r--Swiften/Parser/PlatformXMLParserFactory.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/Swiften/Parser/PlatformXMLParserFactory.h b/Swiften/Parser/PlatformXMLParserFactory.h
index 70355d0..d72a513 100644
--- a/Swiften/Parser/PlatformXMLParserFactory.h
+++ b/Swiften/Parser/PlatformXMLParserFactory.h
@@ -1,19 +1,19 @@
/*
- * 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 <Swiften/Parser/XMLParserFactory.h>
#include <Swiften/Base/API.h>
+#include <Swiften/Parser/XMLParserFactory.h>
namespace Swift {
- class SWIFTEN_API PlatformXMLParserFactory : public XMLParserFactory {
- public:
- PlatformXMLParserFactory();
+ class SWIFTEN_API PlatformXMLParserFactory : public XMLParserFactory {
+ public:
+ PlatformXMLParserFactory();
- virtual XMLParser* createXMLParser(XMLParserClient*);
- };
+ virtual std::unique_ptr<XMLParser> createXMLParser(XMLParserClient*, bool allowComments = false);
+ };
}