diff options
Diffstat (limited to 'Swiften/Serializer/CompressRequestSerializer.h')
-rw-r--r-- | Swiften/Serializer/CompressRequestSerializer.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/Swiften/Serializer/CompressRequestSerializer.h b/Swiften/Serializer/CompressRequestSerializer.h index 4d68c98..d768023 100644 --- a/Swiften/Serializer/CompressRequestSerializer.h +++ b/Swiften/Serializer/CompressRequestSerializer.h @@ -1,21 +1,22 @@ /* - * Copyright (c) 2010 Remko Tronçon - * Licensed under the GNU General Public License v3. - * See Documentation/Licenses/GPLv3.txt for more information. + * Copyright (c) 2010-2016 Isode Limited. + * All rights reserved. + * See the COPYING file for more information. */ #pragma once -#include <boost/shared_ptr.hpp> +#include <memory> +#include <Swiften/Base/API.h> #include <Swiften/Serializer/ElementSerializer.h> namespace Swift { - class CompressRequestSerializer : public ElementSerializer { - public: - CompressRequestSerializer(); + class SWIFTEN_API CompressRequestSerializer : public ElementSerializer { + public: + CompressRequestSerializer(); - virtual SafeByteArray serialize(boost::shared_ptr<Element> element) const; - virtual bool canSerialize(boost::shared_ptr<Element> element) const; - }; + virtual SafeByteArray serialize(std::shared_ptr<ToplevelElement> element) const; + virtual bool canSerialize(std::shared_ptr<ToplevelElement> element) const; + }; } |