summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Parser/PayloadParsers/ChatStateParserFactory.h')
m---------Swiften0
-rw-r--r--Swiften/Parser/PayloadParsers/ChatStateParserFactory.h25
2 files changed, 0 insertions, 25 deletions
diff --git a/Swiften b/Swiften
new file mode 160000
+Subproject 8213ba16d0043d2461f4b031c881d61dda5a38c
diff --git a/Swiften/Parser/PayloadParsers/ChatStateParserFactory.h b/Swiften/Parser/PayloadParsers/ChatStateParserFactory.h
deleted file mode 100644
index 1582d09..0000000
--- a/Swiften/Parser/PayloadParsers/ChatStateParserFactory.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#pragma once
-
-#include "Swiften/Parser/PayloadParserFactory.h"
-#include "Swiften/Parser/PayloadParsers/ChatStateParser.h"
-
-namespace Swift {
- class PayloadParserFactoryCollection;
-
- class ChatStateParserFactory : public PayloadParserFactory {
- public:
- ChatStateParserFactory() {
- }
-
- virtual bool canParse(const String& element, const String& ns, const AttributeMap&) const {
- return ns == "http://jabber.org/protocol/chatstates" &&
- (element == "active" || element == "composing"
- || element == "paused" || element == "inactive" || element == "gone");
- }
-
- virtual PayloadParser* createPayloadParser() {
- return new ChatStateParser();
- }
-
- };
-}