aboutsummaryrefslogtreecommitdiff
path: root/engines/advancedDetector.h
diff options
context:
space:
mode:
authorSven Hesse2012-06-27 04:42:36 +0200
committerSven Hesse2012-06-27 05:14:18 +0200
commit2c760cb15e27de29ef9262cb6e2a102d8dbe3935 (patch)
treeff8a65fcd1d1d70fc75f04696e6efdd6c6a7e47b /engines/advancedDetector.h
parent63e13c5d2c48c0a9aba72a0f63dc4aa515972da5 (diff)
downloadscummvm-rg350-2c760cb15e27de29ef9262cb6e2a102d8dbe3935.tar.gz
scummvm-rg350-2c760cb15e27de29ef9262cb6e2a102d8dbe3935.tar.bz2
scummvm-rg350-2c760cb15e27de29ef9262cb6e2a102d8dbe3935.zip
DETECTOR: Make detectGameFilebased() return a list of MD5s and file sizes
Since we need a FSNode parent for Mac resource forks, we need to change signature of detectGameFilebased(), too.
Diffstat (limited to 'engines/advancedDetector.h')
-rw-r--r--engines/advancedDetector.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/advancedDetector.h b/engines/advancedDetector.h
index 91cb54c396..3e18a6aa18 100644
--- a/engines/advancedDetector.h
+++ b/engines/advancedDetector.h
@@ -302,9 +302,11 @@ protected:
* In case of a tie, the entry coming first in the list is chosen.
*
* @param allFiles a map describing all present files
+ * @param fslist a list of nodes for all present files
* @param fileBasedFallback a list of ADFileBasedFallback records, zero-terminated
+ * @param filesProps if not 0, return a map of properties for all detected files here
*/
- const ADGameDescription *detectGameFilebased(const FileMap &allFiles, const ADFileBasedFallback *fileBasedFallback) const;
+ const ADGameDescription *detectGameFilebased(const FileMap &allFiles, const Common::FSList &fslist, const ADFileBasedFallback *fileBasedFallback, ADFilePropertiesMap *filesProps = 0) const;
// TODO
void updateGameDescriptor(GameDescriptor &desc, const ADGameDescription *realDesc) const;