summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Elements/RosterPayload.h')
m---------Swiften0
-rw-r--r--Swiften/Elements/RosterPayload.h33
2 files changed, 0 insertions, 33 deletions
diff --git a/Swiften b/Swiften
new file mode 160000
+Subproject 8213ba16d0043d2461f4b031c881d61dda5a38c
diff --git a/Swiften/Elements/RosterPayload.h b/Swiften/Elements/RosterPayload.h
deleted file mode 100644
index afb68c2..0000000
--- a/Swiften/Elements/RosterPayload.h
+++ /dev/null
@@ -1,33 +0,0 @@
-#ifndef SWIFTEN_RosterPayload_H
-#define SWIFTEN_RosterPayload_H
-
-#include <vector>
-#include <boost/optional.hpp>
-
-#include "Swiften/Elements/RosterItemPayload.h"
-#include "Swiften/Elements/Payload.h"
-
-namespace Swift {
- class RosterPayload : public Payload {
- public:
- typedef std::vector<RosterItemPayload> RosterItemPayloads;
-
- public:
- RosterPayload() {}
-
- boost::optional<RosterItemPayload> getItem(const JID& jid) const;
-
- void addItem(const RosterItemPayload& item) {
- items_.push_back(item);
- }
-
- const RosterItemPayloads& getItems() const {
- return items_;
- }
-
- private:
- RosterItemPayloads items_;
- };
-}
-
-#endif