From 116dbee1fc1a7d8d2c22abf886d0b8e8fd93db53 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 17 Oct 2003 12:18:58 +0000 Subject: 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 --- base/gameDetector.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'base/gameDetector.h') 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); -- cgit v1.2.3