diff options
author | Max Horn | 2003-10-17 12:18:58 +0000 |
---|---|---|
committer | Max Horn | 2003-10-17 12:18:58 +0000 |
commit | 116dbee1fc1a7d8d2c22abf886d0b8e8fd93db53 (patch) | |
tree | 0960f331e9b7c2d5b59f896b4ab9cc2959417682 /base/gameDetector.h | |
parent | 79e681282e7c5e84d8d6bbd595bce455ebf4e8f1 (diff) | |
download | scummvm-rg350-116dbee1fc1a7d8d2c22abf886d0b8e8fd93db53.tar.gz scummvm-rg350-116dbee1fc1a7d8d2c22abf886d0b8e8fd93db53.tar.bz2 scummvm-rg350-116dbee1fc1a7d8d2c22abf886d0b8e8fd93db53.zip |
factored out the game detection code into the Plugin class; this is the first step towards allowing more powerful, plugin specific detection code; also, moved the Plugin GameSettings APIs to a slightly higher level
svn-id: r10858
Diffstat (limited to 'base/gameDetector.h')
-rw-r--r-- | base/gameDetector.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/base/gameDetector.h b/base/gameDetector.h index fcb127036f..81213a3836 100644 --- a/base/gameDetector.h +++ b/base/gameDetector.h @@ -23,6 +23,7 @@ #ifndef GAMEDETECTOR_H #define GAMEDETECTOR_H +#include "base/plugins.h" #include "common/str.h" class Engine; @@ -117,7 +118,7 @@ public: static Language parseLanguage(const String &s); static Platform parsePlatform(const String &s); - const GameSettings *findGame(const String &gameName, const Plugin **plugin = NULL) const; + static GameSettings findGame(const String &gameName, const Plugin **plugin = NULL); protected: bool detectGame(void); |