diff options
author | Max Horn | 2008-11-20 13:50:26 +0000 |
---|---|---|
committer | Max Horn | 2008-11-20 13:50:26 +0000 |
commit | 63e7836dec3fb17c351292021a93dd31774e9594 (patch) | |
tree | 94777c4cc136733854ac70c5ec527d1b251f0b1c /engines/agi | |
parent | 38bb172b9286dcd04d757e9db3ee56f37c64083a (diff) | |
download | scummvm-rg350-63e7836dec3fb17c351292021a93dd31774e9594.tar.gz scummvm-rg350-63e7836dec3fb17c351292021a93dd31774e9594.tar.bz2 scummvm-rg350-63e7836dec3fb17c351292021a93dd31774e9594.zip |
AGI: fsnodeNameEqualsIgnoreCase and FSNode usage should be replaced by SearchMan
svn-id: r35130
Diffstat (limited to 'engines/agi')
-rw-r--r-- | engines/agi/sound.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/agi/sound.cpp b/engines/agi/sound.cpp index 7655b757f9..ee8a1834ca 100644 --- a/engines/agi/sound.cpp +++ b/engines/agi/sound.cpp @@ -23,8 +23,6 @@ * */ - - #include "common/md5.h" #include "common/config-manager.h" #include "common/fs.h" @@ -1115,6 +1113,7 @@ bool IIgsSoundMgr::loadWaveFile(const Common::FSNode &wavePath, const IIgsExeInf * one of the strings in a list of strings. Can be used e.g. with find_if(). */ struct fsnodeNameEqualsIgnoreCase : public Common::UnaryFunction<const Common::FSNode&, bool> { +// FIXME: This should be replaced; use SearchMan instead fsnodeNameEqualsIgnoreCase(const Common::StringList &str) : _str(str) {} fsnodeNameEqualsIgnoreCase(const Common::String str) { _str.push_back(str); } bool operator()(const Common::FSNode ¶m) const { |