diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-09-20 16:03:35 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-09-20 16:03:35 +0200 |
commit | d0cc9153d53dd4bc8dadf8bbcbe4ac72dfbbb61e (patch) | |
tree | 37d55a434528ff8d53e46393eff7ebd5529b52aa /src/Common/StorageBackend.h | |
parent | 78db15a780cc5389fc6e01d500d5c91bdd8bc422 (diff) | |
download | mad-d0cc9153d53dd4bc8dadf8bbcbe4ac72dfbbb61e.tar mad-d0cc9153d53dd4bc8dadf8bbcbe4ac72dfbbb61e.zip |
Extended StorageManager to provide copy and remove methods.
Diffstat (limited to 'src/Common/StorageBackend.h')
-rw-r--r-- | src/Common/StorageBackend.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Common/StorageBackend.h b/src/Common/StorageBackend.h index abec185..24bb437 100644 --- a/src/Common/StorageBackend.h +++ b/src/Common/StorageBackend.h @@ -45,6 +45,8 @@ class StorageBackend { virtual void store(const std::string &type, const std::string &name, const XmlData *data) throw (Core::Exception) = 0; virtual boost::shared_ptr<XmlData> load(const std::string &type, const std::string &name) throw (Core::Exception) = 0; + virtual void copy(const std::string &type, const std::string &name, const std::string &newName) throw (Core::Exception) = 0; + virtual void rename(const std::string &type, const std::string &name, const std::string &newName) throw (Core::Exception) = 0; virtual void remove(const std::string &type, const std::string &name) throw (Core::Exception) = 0; public: |