Files @ 5768326d7b6e
Branch filter:

Location: libtransport.git/include/Swiften/Serializer/PayloadSerializers/PrivilegeSerializer.h

Vitaly Takmazov
cmake: cleanup configuration

* rename CMake modules to follow CMAKE_MODULE_PATH matching rules
* fix git ignore rules to not ignore CMake modules
* add CMake module to find jsoncpp without pkg-config
* drop unused/outdated modules
/*
 * Implements Privilege tag for XEP-0356: Privileged Entity
 * 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/Privilege.h>

#include "Swiften/SwiftenCompat.h"

namespace Swift {
	class PayloadSerializerCollection;

	class PrivilegeSerializer : public GenericPayloadSerializer<Privilege> {
	public:
		PrivilegeSerializer(PayloadSerializerCollection* serializers);
		virtual ~PrivilegeSerializer();

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

	private:
		PayloadSerializerCollection* serializers_;
	};
}