- Added an engine plugin manager and moved engine specific functionality into it

- base/plugins.* reorganization

svn-id: r32045
This commit is contained in:
Jordi Vilalta Prat 2008-05-12 00:26:29 +00:00
parent bb03596744
commit 2c9968fe80
11 changed files with 162 additions and 144 deletions

View file

@ -77,7 +77,7 @@ void CELauncherDialog::automaticScanDirectory(const FilesystemNode &node) {
FSList files;
node.getChildren(files, FilesystemNode::kListFilesOnly);
// detect
GameList candidates(PluginManager::instance().detectGames(files));
GameList candidates(EngineMan.detectGames(files));
// insert
if (candidates.size() >= 1) {
GameDescriptor result = candidates[0];