diff options
Diffstat (limited to 'Swiften/Serializer/PayloadSerializers/MIXUserPreferenceSerializer.h')
-rw-r--r-- | Swiften/Serializer/PayloadSerializers/MIXUserPreferenceSerializer.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Swiften/Serializer/PayloadSerializers/MIXUserPreferenceSerializer.h b/Swiften/Serializer/PayloadSerializers/MIXUserPreferenceSerializer.h new file mode 100644 index 0000000..301083a --- /dev/null +++ b/Swiften/Serializer/PayloadSerializers/MIXUserPreferenceSerializer.h @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2017 Tarun Gupta + * Licensed under the simplified BSD license. + * See Documentation/Licenses/BSD-simplified.txt for more information. + */ + +#pragma once + +#include <memory> + +#include <Swiften/Base/API.h> +#include <Swiften/Base/Override.h> +#include <Swiften/Elements/MIXUserPreference.h> +#include <Swiften/Serializer/GenericPayloadSerializer.h> + +namespace Swift { + + class SWIFTEN_API MIXUserPreferenceSerializer : public GenericPayloadSerializer<MIXUserPreference> { + public: + MIXUserPreferenceSerializer(); + virtual ~MIXUserPreferenceSerializer(); + + virtual std::string serializePayload(std::shared_ptr<MIXUserPreference>) const SWIFTEN_OVERRIDE; + }; +} |