summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Disco/CapsStorage.h')
-rw-r--r--Swiften/Disco/CapsStorage.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/Swiften/Disco/CapsStorage.h b/Swiften/Disco/CapsStorage.h
new file mode 100644
index 0000000..e4ff945
--- /dev/null
+++ b/Swiften/Disco/CapsStorage.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2010 Remko Tronçon
+ * Licensed under the GNU General Public License v3.
+ * See Documentation/Licenses/GPLv3.txt for more information.
+ */
+
+#pragma once
+
+#include <boost/shared_ptr.hpp>
+
+#include "Swiften/Elements/DiscoInfo.h"
+
+namespace Swift {
+ class String;
+
+ class CapsStorage {
+ public:
+ virtual ~CapsStorage();
+
+ virtual DiscoInfo::ref getDiscoInfo(const String&) const = 0;
+ virtual void setDiscoInfo(const String&, DiscoInfo::ref) = 0;
+ };
+}