diff options
author | Sven Hesse | 2012-06-27 04:25:38 +0200 |
---|---|---|
committer | Sven Hesse | 2012-06-27 05:14:18 +0200 |
commit | 63e13c5d2c48c0a9aba72a0f63dc4aa515972da5 (patch) | |
tree | 39ca81ef8a13ec00b4eab468a42d618de950cead /engines/advancedDetector.h | |
parent | 5ca480aa2e5ffdb0e8fc753aff06e676358dfcfc (diff) | |
download | scummvm-rg350-63e13c5d2c48c0a9aba72a0f63dc4aa515972da5.tar.gz scummvm-rg350-63e13c5d2c48c0a9aba72a0f63dc4aa515972da5.tar.bz2 scummvm-rg350-63e13c5d2c48c0a9aba72a0f63dc4aa515972da5.zip |
DETECTOR: Move size reading and MD5 creating into a new method getFileProperties()
Diffstat (limited to 'engines/advancedDetector.h')
-rw-r--r-- | engines/advancedDetector.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/advancedDetector.h b/engines/advancedDetector.h index 0c3f53f0c5..91cb54c396 100644 --- a/engines/advancedDetector.h +++ b/engines/advancedDetector.h @@ -314,6 +314,9 @@ protected: * Includes nifty stuff like removing trailing dots and ignoring case. */ void composeFileHashMap(FileMap &allFiles, const Common::FSList &fslist, int depth) const; + + /** Get the properties (size and MD5) of this file. */ + bool getFileProperties(const Common::FSNode &parent, const FileMap &allFiles, const ADGameDescription &game, const Common::String fname, ADFileProperties &fileProps) const; }; #endif |