summaryrefslogtreecommitdiffstats
blob: f980174025927ad02e49fc8d86de2b7e55bb8497 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include "Swiften/Serializer/GenericPayloadSerializer.h"
#include "Swiften/Elements/RawXMLPayload.h"

namespace Swift {
	class RawXMLPayloadSerializer : public GenericPayloadSerializer<RawXMLPayload> {
		public:
			RawXMLPayloadSerializer() : GenericPayloadSerializer<RawXMLPayload>() {}

			virtual String serializePayload(boost::shared_ptr<RawXMLPayload> p)  const {
				return p->getRawXML();
			}
	};
}