/* * Copyright (c) 2014-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once #include #include #include #include namespace Swift { class Delay; class Stanza; class SWIFTEN_API Forwarded : public Payload { public: virtual ~Forwarded(); void setDelay(boost::shared_ptr delay) { delay_ = delay; } const boost::shared_ptr& getDelay() const { return delay_; } void setStanza(boost::shared_ptr stanza) { stanza_ = stanza; } const boost::shared_ptr& getStanza() const { return stanza_; } private: boost::shared_ptr delay_; boost::shared_ptr stanza_; }; }