diff options
Diffstat (limited to 'Swiften/Parser')
-rw-r--r-- | Swiften/Parser/EnableStreamManagementParser.h (renamed from Swiften/Parser/EnableSessionManagementParser.h) | 6 | ||||
-rw-r--r-- | Swiften/Parser/StreamManagementEnabledParser.h (renamed from Swiften/Parser/SessionManagementFailedParser.h) | 6 | ||||
-rw-r--r-- | Swiften/Parser/StreamManagementFailedParser.h (renamed from Swiften/Parser/SessionManagementEnabledParser.h) | 6 | ||||
-rw-r--r-- | Swiften/Parser/XMPPParser.cpp | 12 |
4 files changed, 15 insertions, 15 deletions
diff --git a/Swiften/Parser/EnableSessionManagementParser.h b/Swiften/Parser/EnableStreamManagementParser.h index 8a878fd..bd86420 100644 --- a/Swiften/Parser/EnableSessionManagementParser.h +++ b/Swiften/Parser/EnableStreamManagementParser.h @@ -7,11 +7,11 @@ #pragma once #include "Swiften/Parser/GenericElementParser.h" -#include "Swiften/Elements/EnableSessionManagement.h" +#include "Swiften/Elements/EnableStreamManagement.h" namespace Swift { - class EnableSessionManagementParser : public GenericElementParser<EnableSessionManagement> { + class EnableStreamManagementParser : public GenericElementParser<EnableStreamManagement> { public: - EnableSessionManagementParser() : GenericElementParser<EnableSessionManagement>() {} + EnableStreamManagementParser() : GenericElementParser<EnableStreamManagement>() {} }; } diff --git a/Swiften/Parser/SessionManagementFailedParser.h b/Swiften/Parser/StreamManagementEnabledParser.h index 945cade..adc45ab 100644 --- a/Swiften/Parser/SessionManagementFailedParser.h +++ b/Swiften/Parser/StreamManagementEnabledParser.h @@ -7,11 +7,11 @@ #pragma once #include "Swiften/Parser/GenericElementParser.h" -#include "Swiften/Elements/SessionManagementFailed.h" +#include "Swiften/Elements/StreamManagementEnabled.h" namespace Swift { - class SessionManagementFailedParser : public GenericElementParser<SessionManagementFailed> { + class StreamManagementEnabledParser : public GenericElementParser<StreamManagementEnabled> { public: - SessionManagementFailedParser() : GenericElementParser<SessionManagementFailed>() {} + StreamManagementEnabledParser() : GenericElementParser<StreamManagementEnabled>() {} }; } diff --git a/Swiften/Parser/SessionManagementEnabledParser.h b/Swiften/Parser/StreamManagementFailedParser.h index 968ea3e..07f5935 100644 --- a/Swiften/Parser/SessionManagementEnabledParser.h +++ b/Swiften/Parser/StreamManagementFailedParser.h @@ -7,11 +7,11 @@ #pragma once #include "Swiften/Parser/GenericElementParser.h" -#include "Swiften/Elements/SessionManagementEnabled.h" +#include "Swiften/Elements/StreamManagementFailed.h" namespace Swift { - class SessionManagementEnabledParser : public GenericElementParser<SessionManagementEnabled> { + class StreamManagementFailedParser : public GenericElementParser<StreamManagementFailed> { public: - SessionManagementEnabledParser() : GenericElementParser<SessionManagementEnabled>() {} + StreamManagementFailedParser() : GenericElementParser<StreamManagementFailed>() {} }; } diff --git a/Swiften/Parser/XMPPParser.cpp b/Swiften/Parser/XMPPParser.cpp index 9b8a604..034077e 100644 --- a/Swiften/Parser/XMPPParser.cpp +++ b/Swiften/Parser/XMPPParser.cpp @@ -25,9 +25,9 @@ #include "Swiften/Parser/AuthFailureParser.h" #include "Swiften/Parser/AuthChallengeParser.h" #include "Swiften/Parser/AuthResponseParser.h" -#include "Swiften/Parser/EnableSessionManagementParser.h" -#include "Swiften/Parser/SessionManagementEnabledParser.h" -#include "Swiften/Parser/SessionManagementFailedParser.h" +#include "Swiften/Parser/EnableStreamManagementParser.h" +#include "Swiften/Parser/StreamManagementEnabledParser.h" +#include "Swiften/Parser/StreamManagementFailedParser.h" #include "Swiften/Parser/StanzaAckParser.h" #include "Swiften/Parser/StanzaAckRequestParser.h" #include "Swiften/Parser/StartTLSParser.h" @@ -165,13 +165,13 @@ ElementParser* XMPPParser::createElementParser(const String& element, const Stri return new TLSProceedParser(); } else if (element == "enable" && ns == "urn:xmpp:sm:2") { - return new EnableSessionManagementParser(); + return new EnableStreamManagementParser(); } else if (element == "enabled" && ns == "urn:xmpp:sm:2") { - return new SessionManagementEnabledParser(); + return new StreamManagementEnabledParser(); } else if (element == "failed" && ns == "urn:xmpp:sm:2") { - return new SessionManagementFailedParser(); + return new StreamManagementFailedParser(); } else if (element == "a" && ns == "urn:xmpp:sm:2") { return new StanzaAckParser(); |