00001
00002
00003
00004
00005
00006
00007 #pragma once
00008
00009 #include <boost/optional.hpp>
00010 #include <boost/shared_ptr.hpp>
00011 #include <string>
00012 #include <vector>
00013
00014 #include <Swiften/JID/JID.h>
00015 #include <Swiften/Elements/Payload.h>
00016 #include <Swiften/Elements/MUCOccupant.h>
00017 #include <Swiften/Elements/MUCItem.h>
00018
00019 namespace Swift {
00020 class MUCAdminPayload : public Payload {
00021 public:
00022 typedef boost::shared_ptr<MUCAdminPayload> ref;
00023
00024
00025 MUCAdminPayload() {
00026 }
00027
00028 void addItem(const MUCItem& item) {items_.push_back(item);}
00029
00030 const std::vector<MUCItem>& getItems() const {return items_;}
00031
00032 private:
00033 std::vector<MUCItem> items_;
00034 };
00035 }