• Main Page
  • Classes
  • Files
  • File List

Swiften/Elements/Replace.h

00001 /*
00002  * Copyright (c) 2011 Vlad Voicu
00003  * Licensed under the Simplified BSD license.
00004  * See Documentation/Licenses/BSD-simplified.txt for more information.
00005  */
00006 
00007 #pragma once
00008 
00009 #include <boost/shared_ptr.hpp>
00010 #include <string>
00011 
00012 #include <Swiften/Elements/Payload.h>
00013 
00014 namespace Swift {
00015   class Replace : public Payload {
00016     public:
00017       typedef boost::shared_ptr<Replace> ref;
00018       Replace(const std::string& id = std::string()) : replaceID_(id) {};
00019       const std::string& getID() const {
00020         return replaceID_;
00021       }
00022       void setID(const std::string& id) {
00023         replaceID_ = id;
00024       }
00025     private:
00026       std::string replaceID_;
00027   };
00028 }

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