summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-02-14 18:57:18 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-02-14 21:36:32 (GMT)
commitcb05f5a908e20006c954ce38755c2e422ecc2388 (patch)
treea793551a5fe279a57d4330119560e8542f745484 /Swiften/Parser/XMLParser.h
parentcad974b45c0fb9355e68d9728e42c9ae3dbcebc7 (diff)
downloadswift-cb05f5a908e20006c954ce38755c2e422ecc2388.zip
swift-cb05f5a908e20006c954ce38755c2e422ecc2388.tar.bz2
Removed Swift::String.
Diffstat (limited to 'Swiften/Parser/XMLParser.h')
-rw-r--r--Swiften/Parser/XMLParser.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/Swiften/Parser/XMLParser.h b/Swiften/Parser/XMLParser.h
index 80d23f4..69a6ecf 100644
--- a/Swiften/Parser/XMLParser.h
+++ b/Swiften/Parser/XMLParser.h
@@ -4,11 +4,12 @@
* See Documentation/Licenses/GPLv3.txt for more information.
*/
-#ifndef SWIFTEN_XMLParser_H
-#define SWIFTEN_XMLParser_H
+#pragma once
+
+#include <string>
namespace Swift {
- class String;
+
class XMLParserClient;
class XMLParser {
@@ -16,7 +17,7 @@ namespace Swift {
XMLParser(XMLParserClient* client);
virtual ~XMLParser();
- virtual bool parse(const String& data) = 0;
+ virtual bool parse(const std::string& data) = 0;
protected:
XMLParserClient* getClient() const {
@@ -27,5 +28,3 @@ namespace Swift {
XMLParserClient* client_;
};
}
-
-#endif