diff options
author | Philipp Sehmisch <crush@themanaworld.org> | 2009-04-16 20:55:59 +0200 |
---|---|---|
committer | Philipp Sehmisch <crush@themanaworld.org> | 2009-04-16 21:14:40 +0200 |
commit | dac1c9d9b9558053ab9fc96eac8772604b8eedf2 (patch) | |
tree | 7077f0300e6ae39d7de27aae29eb0c4bb06069b5 /src/resources/resourcemanager.h | |
parent | 255c491375005abb1d2de22fa5aa1a821ac3a4f6 (diff) | |
download | mana-dac1c9d9b9558053ab9fc96eac8772604b8eedf2.tar.gz mana-dac1c9d9b9558053ab9fc96eac8772604b8eedf2.tar.bz2 mana-dac1c9d9b9558053ab9fc96eac8772604b8eedf2.tar.xz mana-dac1c9d9b9558053ab9fc96eac8772604b8eedf2.zip |
Added support for playing music in zip files.
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r-- | src/resources/resourcemanager.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h index ec60fa9a..19c0cb61 100644 --- a/src/resources/resourcemanager.h +++ b/src/resources/resourcemanager.h @@ -125,6 +125,17 @@ class ResourceManager Resource *load(const std::string &path, loader fun); /** + * Copies a file from one place to another (useful for extracting + * raw files from a zip archive, for example) + * + * @param src Source file name + * @param dst Destination file name + * @return true on success, false on failure. An error message should be + * in the log file. + */ + bool moveFile(const std::string &src, const std::string &dst); + + /** * Convenience wrapper around ResourceManager::get for loading * images. */ |