diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-08-29 14:43:25 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-08-29 14:43:25 (GMT) |
commit | f2301a18167bc1221cc0b70b71692ce9d1021119 (patch) | |
tree | 165d3808d97cfc6af2d71ecbeb6337bf51db2f66 /Swiften/Serializer | |
parent | 8310fa230b40122fff897727fe6850a67a4b73be (diff) | |
download | swift-f2301a18167bc1221cc0b70b71692ce9d1021119.zip swift-f2301a18167bc1221cc0b70b71692ce9d1021119.tar.bz2 |
Renamed SessionManagement* to StreamManagement*.
Diffstat (limited to 'Swiften/Serializer')
-rw-r--r-- | Swiften/Serializer/EnableStreamManagementSerializer.h (renamed from Swiften/Serializer/EnableSessionManagementSerializer.h) | 6 | ||||
-rw-r--r-- | Swiften/Serializer/StreamManagementEnabledSerializer.h (renamed from Swiften/Serializer/SessionManagementEnabledSerializer.h) | 6 | ||||
-rw-r--r-- | Swiften/Serializer/StreamManagementFailedSerializer.h (renamed from Swiften/Serializer/SessionManagementFailedSerializer.h) | 6 | ||||
-rw-r--r-- | Swiften/Serializer/XMPPSerializer.cpp | 12 |
4 files changed, 15 insertions, 15 deletions
diff --git a/Swiften/Serializer/EnableSessionManagementSerializer.h b/Swiften/Serializer/EnableStreamManagementSerializer.h index 0820cdf..c5a5011 100644 --- a/Swiften/Serializer/EnableSessionManagementSerializer.h +++ b/Swiften/Serializer/EnableStreamManagementSerializer.h @@ -8,14 +8,14 @@ #include <boost/shared_ptr.hpp> -#include "Swiften/Elements/EnableSessionManagement.h" +#include "Swiften/Elements/EnableStreamManagement.h" #include "Swiften/Serializer/GenericElementSerializer.h" #include "Swiften/Serializer/XML/XMLElement.h" namespace Swift { - class EnableSessionManagementSerializer : public GenericElementSerializer<EnableSessionManagement> { + class EnableStreamManagementSerializer : public GenericElementSerializer<EnableStreamManagement> { public: - EnableSessionManagementSerializer() : GenericElementSerializer<EnableSessionManagement>() { + EnableStreamManagementSerializer() : GenericElementSerializer<EnableStreamManagement>() { } virtual String serialize(boost::shared_ptr<Element>) const { diff --git a/Swiften/Serializer/SessionManagementEnabledSerializer.h b/Swiften/Serializer/StreamManagementEnabledSerializer.h index 4c492b7..a135390 100644 --- a/Swiften/Serializer/SessionManagementEnabledSerializer.h +++ b/Swiften/Serializer/StreamManagementEnabledSerializer.h @@ -8,14 +8,14 @@ #include <boost/shared_ptr.hpp> -#include "Swiften/Elements/SessionManagementEnabled.h" +#include "Swiften/Elements/StreamManagementEnabled.h" #include "Swiften/Serializer/GenericElementSerializer.h" #include "Swiften/Serializer/XML/XMLElement.h" namespace Swift { - class SessionManagementEnabledSerializer : public GenericElementSerializer<SessionManagementEnabled> { + class StreamManagementEnabledSerializer : public GenericElementSerializer<StreamManagementEnabled> { public: - SessionManagementEnabledSerializer() : GenericElementSerializer<SessionManagementEnabled>() { + StreamManagementEnabledSerializer() : GenericElementSerializer<StreamManagementEnabled>() { } virtual String serialize(boost::shared_ptr<Element>) const { diff --git a/Swiften/Serializer/SessionManagementFailedSerializer.h b/Swiften/Serializer/StreamManagementFailedSerializer.h index ecc0cb8..d6aa24b 100644 --- a/Swiften/Serializer/SessionManagementFailedSerializer.h +++ b/Swiften/Serializer/StreamManagementFailedSerializer.h @@ -8,14 +8,14 @@ #include <boost/shared_ptr.hpp> -#include "Swiften/Elements/SessionManagementFailed.h" +#include "Swiften/Elements/StreamManagementFailed.h" #include "Swiften/Serializer/GenericElementSerializer.h" #include "Swiften/Serializer/XML/XMLElement.h" namespace Swift { - class SessionManagementFailedSerializer : public GenericElementSerializer<SessionManagementFailed> { + class StreamManagementFailedSerializer : public GenericElementSerializer<StreamManagementFailed> { public: - SessionManagementFailedSerializer() : GenericElementSerializer<SessionManagementFailed>() { + StreamManagementFailedSerializer() : GenericElementSerializer<StreamManagementFailed>() { } virtual String serialize(boost::shared_ptr<Element>) const { diff --git a/Swiften/Serializer/XMPPSerializer.cpp b/Swiften/Serializer/XMPPSerializer.cpp index b619cae..d2eb520 100644 --- a/Swiften/Serializer/XMPPSerializer.cpp +++ b/Swiften/Serializer/XMPPSerializer.cpp @@ -19,9 +19,9 @@ #include "Swiften/Serializer/AuthSuccessSerializer.h" #include "Swiften/Serializer/AuthChallengeSerializer.h" #include "Swiften/Serializer/AuthResponseSerializer.h" -#include "Swiften/Serializer/EnableSessionManagementSerializer.h" -#include "Swiften/Serializer/SessionManagementEnabledSerializer.h" -#include "Swiften/Serializer/SessionManagementFailedSerializer.h" +#include "Swiften/Serializer/EnableStreamManagementSerializer.h" +#include "Swiften/Serializer/StreamManagementEnabledSerializer.h" +#include "Swiften/Serializer/StreamManagementFailedSerializer.h" #include "Swiften/Serializer/StanzaAckSerializer.h" #include "Swiften/Serializer/StanzaAckRequestSerializer.h" #include "Swiften/Serializer/StartTLSRequestSerializer.h" @@ -48,9 +48,9 @@ XMPPSerializer::XMPPSerializer(PayloadSerializerCollection* payloadSerializers) serializers_.push_back(boost::shared_ptr<ElementSerializer>(new StartTLSFailureSerializer())); serializers_.push_back(boost::shared_ptr<ElementSerializer>(new TLSProceedSerializer())); serializers_.push_back(boost::shared_ptr<ElementSerializer>(new StreamFeaturesSerializer())); - serializers_.push_back(boost::shared_ptr<ElementSerializer>(new EnableSessionManagementSerializer())); - serializers_.push_back(boost::shared_ptr<ElementSerializer>(new SessionManagementEnabledSerializer())); - serializers_.push_back(boost::shared_ptr<ElementSerializer>(new SessionManagementFailedSerializer())); + serializers_.push_back(boost::shared_ptr<ElementSerializer>(new EnableStreamManagementSerializer())); + serializers_.push_back(boost::shared_ptr<ElementSerializer>(new StreamManagementEnabledSerializer())); + serializers_.push_back(boost::shared_ptr<ElementSerializer>(new StreamManagementFailedSerializer())); serializers_.push_back(boost::shared_ptr<ElementSerializer>(new StanzaAckSerializer())); serializers_.push_back(boost::shared_ptr<ElementSerializer>(new StanzaAckRequestSerializer())); } |