aboutsummaryrefslogtreecommitdiff
path: root/engines/metaengine.h
diff options
context:
space:
mode:
authorYotam Barnoy2010-12-23 13:38:37 +0000
committerYotam Barnoy2010-12-23 13:38:37 +0000
commitee2b1092ab35be717c728ea641d18baa7f817536 (patch)
treeb74d04f75701e2d28bdae48f05d5d97854902062 /engines/metaengine.h
parent401a8c355d1b8af353db0df6dab6117cb725f756 (diff)
downloadscummvm-rg350-ee2b1092ab35be717c728ea641d18baa7f817536.tar.gz
scummvm-rg350-ee2b1092ab35be717c728ea641d18baa7f817536.tar.bz2
scummvm-rg350-ee2b1092ab35be717c728ea641d18baa7f817536.zip
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
Diffstat (limited to 'engines/metaengine.h')
-rw-r--r--engines/metaengine.h2
1 files changed, 1 insertions, 1 deletions
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<SingletonBaseType>;
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;