aboutsummaryrefslogtreecommitdiff
path: root/engines/advancedDetector.cpp
diff options
context:
space:
mode:
authorSven Hesse2012-06-27 04:07:32 +0200
committerSven Hesse2012-06-27 05:14:18 +0200
commit5ca480aa2e5ffdb0e8fc753aff06e676358dfcfc (patch)
treedd142618daedb79d55c4b2e77230cdfdc13ad7a3 /engines/advancedDetector.cpp
parent76915424962c1288cbd8859bf1a4d401f2769cbd (diff)
downloadscummvm-rg350-5ca480aa2e5ffdb0e8fc753aff06e676358dfcfc.tar.gz
scummvm-rg350-5ca480aa2e5ffdb0e8fc753aff06e676358dfcfc.tar.bz2
scummvm-rg350-5ca480aa2e5ffdb0e8fc753aff06e676358dfcfc.zip
DETECTOR: Move ADFileProperties(Map) into advancedDetector.h
Diffstat (limited to 'engines/advancedDetector.cpp')
-rw-r--r--engines/advancedDetector.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/engines/advancedDetector.cpp b/engines/advancedDetector.cpp
index 272032d66a..248b8cc432 100644
--- a/engines/advancedDetector.cpp
+++ b/engines/advancedDetector.cpp
@@ -22,7 +22,6 @@
#include "common/debug.h"
#include "common/util.h"
-#include "common/hash-str.h"
#include "common/file.h"
#include "common/macresman.h"
#include "common/md5.h"
@@ -308,20 +307,6 @@ Common::Error AdvancedMetaEngine::createInstance(OSystem *syst, Engine **engine)
return Common::kNoError;
}
-/**
- * A record describing the properties of a file. Used on the existing
- * files while detecting a game.
- */
-struct ADFileProperties {
- int32 size;
- Common::String md5;
-};
-
-/**
- * A map of all relevant existing files in a game directory while detecting.
- */
-typedef Common::HashMap<Common::String, ADFileProperties, Common::IgnoreCase_Hash, Common::IgnoreCase_EqualTo> ADFilePropertiesMap;
-
static void reportUnknown(const Common::FSNode &path, const ADFilePropertiesMap &filesProps) {
// TODO: This message should be cleaned up / made more specific.
// For example, we should specify at least which engine triggered this.