diff options
Diffstat (limited to 'Swiften/Serializer/PayloadSerializers/MAMResultSerializer.h')
-rw-r--r-- | Swiften/Serializer/PayloadSerializers/MAMResultSerializer.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/Swiften/Serializer/PayloadSerializers/MAMResultSerializer.h b/Swiften/Serializer/PayloadSerializers/MAMResultSerializer.h index 534f1b3..f4fc054 100644 --- a/Swiften/Serializer/PayloadSerializers/MAMResultSerializer.h +++ b/Swiften/Serializer/PayloadSerializers/MAMResultSerializer.h @@ -1,28 +1,29 @@ /* - * Copyright (c) 2014 Isode Limited. + * Copyright (c) 2014-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once -#include <boost/shared_ptr.hpp> -#include <Swiften/Base/Override.h> +#include <memory> + #include <Swiften/Base/API.h> +#include <Swiften/Base/Override.h> #include <Swiften/Elements/MAMResult.h> #include <Swiften/Serializer/GenericPayloadSerializer.h> namespace Swift { - class PayloadSerializerCollection; + class PayloadSerializerCollection; - class SWIFTEN_API MAMResultSerializer : public GenericPayloadSerializer<MAMResult> { - public: - MAMResultSerializer(PayloadSerializerCollection* serializers); - virtual ~MAMResultSerializer(); + class SWIFTEN_API MAMResultSerializer : public GenericPayloadSerializer<MAMResult> { + public: + MAMResultSerializer(PayloadSerializerCollection* serializers); + virtual ~MAMResultSerializer(); - virtual std::string serializePayload(boost::shared_ptr<MAMResult>) const SWIFTEN_OVERRIDE; + virtual std::string serializePayload(std::shared_ptr<MAMResult>) const SWIFTEN_OVERRIDE; - private: - PayloadSerializerCollection* serializers_; - }; + private: + PayloadSerializerCollection* serializers_; + }; } |