From ee2b1092ab35be717c728ea641d18baa7f817536 Mon Sep 17 00:00:00 2001 From: Yotam Barnoy Date: Thu, 23 Dec 2010 13:38:37 +0000 Subject: PLUGINS: switched plugin manager to inheritance rather than #defines The reason for this was that I found issues where the wrong functions were called in EngineManager for single plugin operation. Rather than inserting more messy #defines, I preferred to change the PluginManager to use virtual functions, which also makes EngineManager simpler. svn-id: r55024 --- engines/metaengine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/metaengine.h b/engines/metaengine.h index 7b69a3fe43..2afed0703b 100644 --- a/engines/metaengine.h +++ b/engines/metaengine.h @@ -231,7 +231,7 @@ private: friend class Common::Singleton; public: - GameDescriptor findGameOnePluginAtATime(const Common::String &gameName, const EnginePlugin **plugin = NULL) const; + GameDescriptor findGameInLoadedPlugins(const Common::String &gameName, const EnginePlugin **plugin = NULL) const; GameDescriptor findGame(const Common::String &gameName, const EnginePlugin **plugin = NULL) const; GameList detectGames(const Common::FSList &fslist) const; const EnginePlugin::List &getPlugins() const; -- cgit v1.2.3