diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-09-13 19:04:14 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-09-13 19:04:14 +0200 |
commit | 7f4f260d732c849c1e88fcb91023faab5316d9c6 (patch) | |
tree | f58ad5026eee9cb0c2c8e8742147f29404cdd721 /src/modules/StorageBackendFile/StorageBackendFile.h | |
parent | 09b8df5200de1c8c20ea2856a8c6aa76b0811bd1 (diff) | |
download | mad-7f4f260d732c849c1e88fcb91023faab5316d9c6.tar mad-7f4f260d732c849c1e88fcb91023faab5316d9c6.zip |
StorageManager can delete stored data now
Diffstat (limited to 'src/modules/StorageBackendFile/StorageBackendFile.h')
-rw-r--r-- | src/modules/StorageBackendFile/StorageBackendFile.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/StorageBackendFile/StorageBackendFile.h b/src/modules/StorageBackendFile/StorageBackendFile.h index 45f4f98..5cce4fc 100644 --- a/src/modules/StorageBackendFile/StorageBackendFile.h +++ b/src/modules/StorageBackendFile/StorageBackendFile.h @@ -51,9 +51,13 @@ class StorageBackendFile : public Common::StorageBackend, private Core::Configur virtual std::set<std::string> listTypes() throw (Core::Exception); virtual std::set<std::string> list(const std::string &type) throw (Core::Exception); + virtual bool exists(const std::string &type, const std::string &name) throw (Core::Exception); + virtual void store(const std::string &type, const std::string &name, const Common::XmlData *data) throw (Core::Exception); virtual boost::shared_ptr<Common::XmlData> load(const std::string &type, const std::string &name) throw (Core::Exception); + virtual void remove(const std::string &type, const std::string &name) throw (Core::Exception); + public: StorageBackendFile(Common::Application *application0) : application(application0), configured(false) { application->getConfigManager()->registerConfigurable(this); |