diff options
Diffstat (limited to 'Swiften/Elements/Idle.h')
-rw-r--r-- | Swiften/Elements/Idle.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/Swiften/Elements/Idle.h b/Swiften/Elements/Idle.h index ec170fb..07ecc74 100644 --- a/Swiften/Elements/Idle.h +++ b/Swiften/Elements/Idle.h @@ -20,25 +20,25 @@ namespace Swift { - class SWIFTEN_API Idle : public Payload { - public: - typedef boost::shared_ptr<Idle> ref; - - public: - Idle() {} - Idle(boost::posix_time::ptime since) : since_(since) { - } - - void setSince(boost::posix_time::ptime since) { - since_ = since; - } - - boost::posix_time::ptime getSince() const { - return since_; - } - - private: - boost::posix_time::ptime since_; - }; + class SWIFTEN_API Idle : public Payload { + public: + typedef boost::shared_ptr<Idle> ref; + + public: + Idle() {} + Idle(boost::posix_time::ptime since) : since_(since) { + } + + void setSince(boost::posix_time::ptime since) { + since_ = since; + } + + boost::posix_time::ptime getSince() const { + return since_; + } + + private: + boost::posix_time::ptime since_; + }; } |