00001
00002
00003
00004
00005
00006
00007 #pragma once
00008
00009 #include <vector>
00010
00011 #include <Swiften/JID/JID.h>
00012 #include <Swiften/Elements/Payload.h>
00013
00014 namespace Swift {
00015 class BlockPayload : public Payload {
00016 public:
00017 BlockPayload() {
00018 }
00019
00020 void addItem(const JID& jid) {
00021 items.push_back(jid);
00022 }
00023
00024 const std::vector<JID>& getItems() const {
00025 return items;
00026 }
00027
00028 private:
00029 std::vector<JID> items;
00030 };
00031 }