summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Elements/Storage.h')
-rw-r--r--Swiften/Elements/Storage.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/Swiften/Elements/Storage.h b/Swiften/Elements/Storage.h
index 7d978d1..447ca2e 100644
--- a/Swiften/Elements/Storage.h
+++ b/Swiften/Elements/Storage.h
@@ -35,12 +35,17 @@ namespace Swift {
Storage() {
}
+
+ void clearRooms() {
+ rooms.clear();
+ }
+
const std::vector<Room>& getRooms() const {
- return conferences;
+ return rooms;
}
- void addRoom(const Room& conference) {
- conferences.push_back(conference);
+ void addRoom(const Room& room) {
+ rooms.push_back(room);
}
const std::vector<URL>& getURLs() const {
@@ -52,7 +57,7 @@ namespace Swift {
}
private:
- std::vector<Room> conferences;
+ std::vector<Room> rooms;
std::vector<URL> urls;
};
}