From 5d5c02d66c680ef442f68138bae6a403e6bc3336 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 4 May 2006 23:24:09 +0000 Subject: 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 --- base/gameDetector.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'base/gameDetector.h') 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 -- cgit v1.2.3