• Main Page
  • Classes
  • Files
  • File List

Swiften/Elements/Last.h

00001 /*
00002  * Copyright (c) 2011 Kevin Smith
00003  * Licensed under the GNU General Public License v3.
00004  * See Documentation/Licenses/GPLv3.txt for more information.
00005  */
00006 
00007 #pragma once
00008 
00009 #include <Swiften/Elements/Payload.h>
00010 
00011 namespace Swift {
00012   class Last : public Payload {
00013     public:
00014       Last(int seconds = 0) : seconds_(seconds) {};
00015 
00016       int getSeconds() const {return seconds_;}
00017       void setSeconds(int seconds) {seconds_ = seconds;}
00018 
00019     private:
00020       int seconds_;
00021   };
00022 }

Generated on Fri Oct 12 2012 21:00:19 for Swiften by  doxygen 1.7.1