diff options
Diffstat (limited to 'Swiften/Elements/Payload.h')
-rw-r--r-- | Swiften/Elements/Payload.h | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/Swiften/Elements/Payload.h b/Swiften/Elements/Payload.h index 15a72d5..9923f0b 100644 --- a/Swiften/Elements/Payload.h +++ b/Swiften/Elements/Payload.h @@ -1,20 +1,25 @@ /* - * 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/Elements/Element.h> namespace Swift { - class SWIFTEN_API Payload { - public: - typedef boost::shared_ptr<Payload> ref; - public: - virtual ~Payload(); - }; + class SWIFTEN_API Payload : public Element { + public: + typedef std::shared_ptr<Payload> ref; + public: + Payload() {} + SWIFTEN_DEFAULT_COPY_CONSTRUCTOR(Payload) + virtual ~Payload(); + + SWIFTEN_DEFAULT_COPY_ASSIGMNENT_OPERATOR(Payload) + }; } |