summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Serializer/PayloadSerializers/JingleRTPDescriptionSerializer.h')
-rw-r--r--Swiften/Serializer/PayloadSerializers/JingleRTPDescriptionSerializer.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/Swiften/Serializer/PayloadSerializers/JingleRTPDescriptionSerializer.h b/Swiften/Serializer/PayloadSerializers/JingleRTPDescriptionSerializer.h
index 3d23d85..1911b69 100644
--- a/Swiften/Serializer/PayloadSerializers/JingleRTPDescriptionSerializer.h
+++ b/Swiften/Serializer/PayloadSerializers/JingleRTPDescriptionSerializer.h
@@ -4,25 +4,17 @@
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
-
#pragma once
#include <Swiften/Serializer/GenericPayloadSerializer.h>
#include <Swiften/Elements/JingleRTPDescription.h>
-
-
namespace Swift {
- class PayloadSerializerCollection;
- class XMLElement;
-
class JingleRTPDescriptionSerializer : public GenericPayloadSerializer<JingleRTPDescription> {
public:
- JingleRTPDescriptionSerializer();
-
- virtual std::string serializePayload(boost::shared_ptr<JingleRTPDescription>) const;
+ virtual std::string serializePayload(boost::shared_ptr<JingleRTPDescription>) const;
private:
- std::string mediaTypeToString(JingleRTPDescription::MediaType mediaType) const;
+ static std::string mediaTypeToString(JingleRTPDescription::MediaType mediaType);
};
}