From cd8a5f3a98287fe7366db100c2fb45ff986e2d1b Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 20 Jan 2007 21:27:57 +0000 Subject: First phase of detection-related plugins interface improvements. Now plugins return StringMap instead of fixed list of parameters. This adds great flexibility. Current patch should not alter any functionality, i.e. if there are regressions, submit a report. Phase 2 will benefit from these changes and will come later. svn-id: r25134 --- backends/plugins/dynamic-plugin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/plugins') diff --git a/backends/plugins/dynamic-plugin.h b/backends/plugins/dynamic-plugin.h index 59c3af9a61..5ceffd7c1e 100644 --- a/backends/plugins/dynamic-plugin.h +++ b/backends/plugins/dynamic-plugin.h @@ -34,7 +34,7 @@ typedef PluginError (*EngineFactory)(OSystem *syst, Engine **engine); typedef const char *(*NameFunc)(); typedef GameDescriptor (*GameIDQueryFunc)(const char *gameid); typedef GameList (*GameIDListFunc)(); -typedef DetectedGameList (*DetectFunc)(const FSList &fslist); +typedef GameList (*DetectFunc)(const FSList &fslist); class DynamicPlugin : public Plugin { @@ -68,7 +68,7 @@ public: return (*_qf)(gameid); } - DetectedGameList detectGames(const FSList &fslist) const { + GameList detectGames(const FSList &fslist) const { assert(_df); return (*_df)(fslist); } -- cgit v1.2.3