summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Parser/PayloadParsers/BodyParser.cpp')
m---------Swiften0
-rw-r--r--Swiften/Parser/PayloadParsers/BodyParser.cpp23
2 files changed, 0 insertions, 23 deletions
diff --git a/Swiften b/Swiften
new file mode 160000
+Subproject 8213ba16d0043d2461f4b031c881d61dda5a38c
diff --git a/Swiften/Parser/PayloadParsers/BodyParser.cpp b/Swiften/Parser/PayloadParsers/BodyParser.cpp
deleted file mode 100644
index e5898ff..0000000
--- a/Swiften/Parser/PayloadParsers/BodyParser.cpp
+++ /dev/null
@@ -1,23 +0,0 @@
-#include "Swiften/Parser/PayloadParsers/BodyParser.h"
-
-namespace Swift {
-
-BodyParser::BodyParser() : level_(0) {
-}
-
-void BodyParser::handleStartElement(const String&, const String&, const AttributeMap&) {
- ++level_;
-}
-
-void BodyParser::handleEndElement(const String&, const String&) {
- --level_;
- if (level_ == 0) {
- getPayloadInternal()->setText(text_);
- }
-}
-
-void BodyParser::handleCharacterData(const String& data) {
- text_ += data;
-}
-
-}