diff options
author | Max Horn | 2006-05-04 23:24:09 +0000 |
---|---|---|
committer | Max Horn | 2006-05-04 23:24:09 +0000 |
commit | 5d5c02d66c680ef442f68138bae6a403e6bc3336 (patch) | |
tree | cd52747d0e464e82c963aa588631eed244a65357 /base/gameDetector.h | |
parent | c46301bcc285fd216ab76095e81dc54b3ba1d127 (diff) | |
download | scummvm-rg350-5d5c02d66c680ef442f68138bae6a403e6bc3336.tar.gz scummvm-rg350-5d5c02d66c680ef442f68138bae6a403e6bc3336.tar.bz2 scummvm-rg350-5d5c02d66c680ef442f68138bae6a403e6bc3336.zip |
Moved GameDetector::setTarget & findGame to the new namespace Base; moved their declaration to base/game.h, their implementation to base/main.cpp (both until we can come up with a better location). Also moved detectMain into main.cpp, where it now is a local static function
svn-id: r22346
Diffstat (limited to 'base/gameDetector.h')
-rw-r--r-- | base/gameDetector.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/base/gameDetector.h b/base/gameDetector.h index 89793cf48c..93f3668137 100644 --- a/base/gameDetector.h +++ b/base/gameDetector.h @@ -28,24 +28,11 @@ #include "common/config-manager.h" #include "base/game.h" -class Plugin; - - class GameDetector { - typedef Common::String String; - public: static void registerDefaults(); - static Common::String parseCommandLine(Common::StringMap &settings, int argc, char **argv); static void processSettings(Common::String &target, Common::StringMap &settings); - static const Plugin *detectMain(); - -public: - static GameDescriptor findGame(const String &gameName, const Plugin **plugin = NULL); - -//protected: - static void setTarget(const String &name); // TODO: This should be protected }; #endif |