summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Elements/Storage.h')
m---------Swiften0
-rw-r--r--Swiften/Elements/Storage.h36
2 files changed, 0 insertions, 36 deletions
diff --git a/Swiften b/Swiften
new file mode 160000
+Subproject 8213ba16d0043d2461f4b031c881d61dda5a38c
diff --git a/Swiften/Elements/Storage.h b/Swiften/Elements/Storage.h
deleted file mode 100644
index 1458836..0000000
--- a/Swiften/Elements/Storage.h
+++ /dev/null
@@ -1,36 +0,0 @@
-#pragma once
-
-#include <vector>
-
-#include "Swiften/Elements/Payload.h"
-#include "Swiften/Base/String.h"
-#include "Swiften/JID/JID.h"
-
-namespace Swift {
- class Storage : public Payload {
- public:
- struct Conference {
- Conference() : autoJoin(false) {}
-
- String name;
- JID jid;
- bool autoJoin;
- String nick;
- String password;
- };
-
- Storage() {
- }
-
- const std::vector<Conference>& getConferences() const {
- return conferences;
- }
-
- void addConference(const Conference& conference) {
- conferences.push_back(conference);
- }
-
- private:
- std::vector<Conference> conferences;
- };
-}