diff options
Diffstat (limited to 'Swiften/Serializer/PayloadSerializers/MUCOwnerPayloadSerializer.h')
-rw-r--r-- | Swiften/Serializer/PayloadSerializers/MUCOwnerPayloadSerializer.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Swiften/Serializer/PayloadSerializers/MUCOwnerPayloadSerializer.h b/Swiften/Serializer/PayloadSerializers/MUCOwnerPayloadSerializer.h new file mode 100644 index 0000000..862cfce --- /dev/null +++ b/Swiften/Serializer/PayloadSerializers/MUCOwnerPayloadSerializer.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) 2010 Kevin Smith + * Licensed under the GNU General Public License v3. + * See Documentation/Licenses/GPLv3.txt for more information. + */ + +#pragma once + +#include "Swiften/Serializer/GenericPayloadSerializer.h" +#include "Swiften/Elements/MUCOwnerPayload.h" + +namespace Swift { + class PayloadSerializerCollection; + class MUCOwnerPayloadSerializer : public GenericPayloadSerializer<MUCOwnerPayload> { + public: + MUCOwnerPayloadSerializer(PayloadSerializerCollection* serializers); + virtual String serializePayload(boost::shared_ptr<MUCOwnerPayload> version) const; + private: + PayloadSerializerCollection* serializers; + }; +} + |