aboutsummaryrefslogtreecommitdiff
path: root/engines/advancedDetector.h
diff options
context:
space:
mode:
authorSven Hesse2012-06-27 04:48:57 +0200
committerSven Hesse2012-06-27 05:14:18 +0200
commit9e7ece4ebe06bb66d1408189b44ba2aa9d0d6f42 (patch)
tree5928404389ccd1c5fb8869e3948136932c52246d /engines/advancedDetector.h
parent2c760cb15e27de29ef9262cb6e2a102d8dbe3935 (diff)
downloadscummvm-rg350-9e7ece4ebe06bb66d1408189b44ba2aa9d0d6f42.tar.gz
scummvm-rg350-9e7ece4ebe06bb66d1408189b44ba2aa9d0d6f42.tar.bz2
scummvm-rg350-9e7ece4ebe06bb66d1408189b44ba2aa9d0d6f42.zip
DETECTOR: Make reportUnknown() available for AdvancedMetaEngine classes to use
Diffstat (limited to 'engines/advancedDetector.h')
-rw-r--r--engines/advancedDetector.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/advancedDetector.h b/engines/advancedDetector.h
index 3e18a6aa18..8c19d03691 100644
--- a/engines/advancedDetector.h
+++ b/engines/advancedDetector.h
@@ -308,6 +308,12 @@ protected:
*/
const ADGameDescription *detectGameFilebased(const FileMap &allFiles, const Common::FSList &fslist, const ADFileBasedFallback *fileBasedFallback, ADFilePropertiesMap *filesProps = 0) const;
+ /**
+ * Log and print a report that we found an unknown game variant, together with the file
+ * names, sizes and MD5 sums.
+ */
+ void reportUnknown(const Common::FSNode &path, const ADFilePropertiesMap &filesProps) const;
+
// TODO
void updateGameDescriptor(GameDescriptor &desc, const ADGameDescription *realDesc) const;