summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-12-21 12:37:17 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-12-21 12:37:17 +0000
commit539af2ea0ce3245c41b4a4be989da35788f7b992 (patch)
treead5ea5e00fa48ecc1e566a4e3d6278ca3a2efe1f /src/resources/resourcemanager.h
parent85361ea254cc764c31bfcf6b4cc1fb90cda48a85 (diff)
downloadmana-539af2ea0ce3245c41b4a4be989da35788f7b992.tar.gz
mana-539af2ea0ce3245c41b4a4be989da35788f7b992.tar.bz2
mana-539af2ea0ce3245c41b4a4be989da35788f7b992.tar.xz
mana-539af2ea0ce3245c41b4a4be989da35788f7b992.zip
Added logging of error on PHYSFS_addToSearchPath.
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r--src/resources/resourcemanager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h
index c52248b1..1adb8446 100644
--- a/src/resources/resourcemanager.h
+++ b/src/resources/resourcemanager.h
@@ -68,8 +68,10 @@ class ResourceManager
* Adds a directory or archive to the search path. If append is true
* then the directory is added to the end of the search path, otherwise
* it is added at the front.
+ *
+ * @return <code>true</code> on success, <code>false</code> otherwise.
*/
- void
+ bool
addToSearchPath(const std::string &path, bool append);
/**