diff options
Diffstat (limited to 'Swiften/Elements/Delay.h')
| -rw-r--r-- | Swiften/Elements/Delay.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Swiften/Elements/Delay.h b/Swiften/Elements/Delay.h index c87e3ec..2cfb1d0 100644 --- a/Swiften/Elements/Delay.h +++ b/Swiften/Elements/Delay.h @@ -1,22 +1,23 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2015 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once #include <boost/date_time/posix_time/posix_time_types.hpp> #include <boost/optional.hpp> +#include <Swiften/Base/API.h> #include <Swiften/Elements/Payload.h> #include <Swiften/JID/JID.h> namespace Swift { - class Delay : public Payload { + class SWIFTEN_API Delay : public Payload { public: Delay() {} Delay(const boost::posix_time::ptime& time, const JID& from = JID()) : time_(time), from_(from) {} const boost::posix_time::ptime& getStamp() const {return time_;} void setStamp(const boost::posix_time::ptime& time) {time_ = time;} |
Swift