diff options
Diffstat (limited to 'backends/plugins/dc/dc-provider.h')
-rw-r--r-- | backends/plugins/dc/dc-provider.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/backends/plugins/dc/dc-provider.h b/backends/plugins/dc/dc-provider.h index f13bdf0636..1b96f55d4d 100644 --- a/backends/plugins/dc/dc-provider.h +++ b/backends/plugins/dc/dc-provider.h @@ -30,9 +30,16 @@ #if defined(DYNAMIC_MODULES) && defined(__DC__) -class DCPluginProvider : public PluginProvider { -public: - virtual PluginList getPlugins(); +class DCPluginProvider : public FilePluginProvider { +protected: + Plugin* createPlugin(const Common::String &filename) const; + + virtual const char* getPrefix() const { return ""; } + virtual const char* getSuffix() const { return ".PLG"; } + + virtual void addCustomDirectories(Common::StringList &dirs) const { + dirs.push_back("/"); + } }; #endif // defined(DYNAMIC_MODULES) && defined(__DC__) |