00001
00002
00003
00004
00005
00006
00007 #pragma once
00008
00009 #include <string>
00010
00011 #include <Swiften/Elements/Payload.h>
00012 #include <Swiften/JID/JID.h>
00013
00014 namespace Swift {
00015 class MUCDestroyPayload : public Payload {
00016 public:
00017 typedef boost::shared_ptr<MUCDestroyPayload> ref;
00018
00019 MUCDestroyPayload() {
00020 }
00021
00022 void setNewVenue(const JID& jid) {
00023 newVenue_ = jid;
00024 }
00025
00026 const JID& getNewVenue() const {
00027 return newVenue_;
00028 }
00029
00030 void setReason(const std::string& reason) {
00031 reason_ = reason;
00032 }
00033
00034 const std::string& getReason() const {
00035 return reason_;
00036 }
00037
00038 private:
00039 JID newVenue_;
00040 std::string reason_;
00041 };
00042 }