summaryrefslogtreecommitdiffstats
path: root/src/Common/StorageManager.h
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-09-11 02:15:13 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-09-11 02:15:13 +0200
commit36a3a590ffa4133f7f2d980a57d48ef95c680b71 (patch)
tree47a5f37f571db0918fe3f48bb14c819d01e13777 /src/Common/StorageManager.h
parentf540560feb093143569f8a85eb5280d9c7504a0e (diff)
downloadmad-36a3a590ffa4133f7f2d980a57d48ef95c680b71.tar
mad-36a3a590ffa4133f7f2d980a57d48ef95c680b71.zip
Extended StorageManager
Diffstat (limited to 'src/Common/StorageManager.h')
-rw-r--r--src/Common/StorageManager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Common/StorageManager.h b/src/Common/StorageManager.h
index c81c707..98533fb 100644
--- a/src/Common/StorageManager.h
+++ b/src/Common/StorageManager.h
@@ -51,6 +51,9 @@ class MAD_COMMON_EXPORT StorageManager {
void setBackend(boost::shared_ptr<StorageBackend> newBackend);
void unsetBackend(boost::shared_ptr<StorageBackend> oldBackend);
+ std::set<std::string> listTypes() throw (Core::Exception);
+ std::set<std::string> list(const std::string &type) throw (Core::Exception);
+
void store(const std::string &type, const std::string &name, const XmlData *data) throw (Core::Exception);
boost::shared_ptr<XmlData> load(const std::string &type, const std::string &name) throw (Core::Exception);
};