Added support to load plugins from different directories and the ability to specify the default directory from configure.

svn-id: r31816
This commit is contained in:
Jordi Vilalta Prat 2008-05-02 14:30:06 +00:00
parent 6a98108eac
commit 3f44977885
14 changed files with 132 additions and 172 deletions

View file

@ -30,9 +30,9 @@
#if defined(DYNAMIC_MODULES) && defined(SDL_BACKEND)
class SDLPluginProvider : public PluginProvider {
public:
virtual PluginList getPlugins();
class SDLPluginProvider : public FilePluginProvider {
protected:
Plugin* createPlugin(const Common::String &filename) const;
};
#endif // defined(DYNAMIC_MODULES) && defined(UNIX)