Taken care of FilePluginProvider's FIXMEs

svn-id: r32085
This commit is contained in:
Jordi Vilalta Prat 2008-05-13 13:24:49 +00:00
parent f7a682edf9
commit a392bc4b0e
6 changed files with 59 additions and 39 deletions

View file

@ -107,5 +107,13 @@ Plugin* Win32PluginProvider::createPlugin(const Common::String &filename) const
return new Win32Plugin(filename);
}
bool Win32PluginProvider::isPluginFilename(const Common::String &filename) const {
// Check the plugin suffix
if (!filename.hasSuffix(".dll"))
return false;
return true;
}
#endif // defined(DYNAMIC_MODULES) && defined(_WIN32)