diff options
Diffstat (limited to 'Swiften/Elements/Storage.h')
-rw-r--r-- | Swiften/Elements/Storage.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Swiften/Elements/Storage.h b/Swiften/Elements/Storage.h index 515cd52..dcc4b85 100644 --- a/Swiften/Elements/Storage.h +++ b/Swiften/Elements/Storage.h @@ -25,6 +25,13 @@ namespace Swift { String password; }; + struct URL { + URL() {} + + String name; + String url; + }; + Storage() { } @@ -36,7 +43,16 @@ namespace Swift { conferences.push_back(conference); } + const std::vector<URL>& getURLs() const { + return urls; + } + + void addURL(const URL& url) { + urls.push_back(url); + } + private: std::vector<Conference> conferences; + std::vector<URL> urls; }; } |