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/SerializingParser.h
parentcad974b45c0fb9355e68d9728e42c9ae3dbcebc7 (diff)
downloadswift-cb05f5a908e20006c954ce38755c2e422ecc2388.zip
swift-cb05f5a908e20006c954ce38755c2e422ecc2388.tar.bz2
Removed Swift::String.
Diffstat (limited to 'Swiften/Parser/SerializingParser.h')
-rw-r--r--Swiften/Parser/SerializingParser.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Swiften/Parser/SerializingParser.h b/Swiften/Parser/SerializingParser.h
index 4927677..6276ea0 100644
--- a/Swiften/Parser/SerializingParser.h
+++ b/Swiften/Parser/SerializingParser.h
@@ -7,7 +7,7 @@
#ifndef SWIFTEN_SerializingParser_H
#define SWIFTEN_SerializingParser_H
-#include "Swiften/Base/String.h"
+#include <string>
#include "Swiften/Parser/AttributeMap.h"
#include "Swiften/Serializer/XML/XMLElement.h"
@@ -16,11 +16,11 @@ namespace Swift {
public:
SerializingParser();
- void handleStartElement(const String& element, const String& ns, const AttributeMap& attributes);
- void handleEndElement(const String& element, const String& ns);
- void handleCharacterData(const String& data);
+ void handleStartElement(const std::string& element, const std::string& ns, const AttributeMap& attributes);
+ void handleEndElement(const std::string& element, const std::string& ns);
+ void handleCharacterData(const std::string& data);
- String getResult() const;
+ std::string getResult() const;
private:
std::vector< boost::shared_ptr<XMLElement> > elementStack_;