Files @ 0a78acefef91
Branch filter:

Location: libtransport.git/include/Swiften/Serializer/PayloadSerializers/HintPayloadSerializer.h - annotation

himselfv
Carbons (#267)

Forward own messages from legacy network

* requires XEP-280/XEP-297 enabled client and XEP-0356 enabled server
* closes #265
/*
 * Implements XEP-0334: Message Processing Hints
 * Licensed under the Simplified BSD license.
 * See Documentation/Licenses/BSD-simplified.txt for more information.
 */

#pragma once

#include <Swiften/Serializer/GenericPayloadSerializer.h>
#include <Swiften/Elements/HintPayload.h>

#include "Swiften/SwiftenCompat.h"

namespace Swift {
	class HintPayloadSerializer : public GenericPayloadSerializer<HintPayload> {
	public:
		HintPayloadSerializer();

		virtual std::string serializePayload(SWIFTEN_SHRPTR_NAMESPACE::shared_ptr<HintPayload>)  const;
	};
}