diff options
author | Max Horn | 2008-09-30 16:34:38 +0000 |
---|---|---|
committer | Max Horn | 2008-09-30 16:34:38 +0000 |
commit | 73b833042e55959954d78b3e6aa2cc89c5b8848d (patch) | |
tree | 6084627a0c643a514186b2cbef439b971c322e22 /backends/plugins/posix/posix-provider.cpp | |
parent | 1d7de023d938078767a7c5b478769d5a4f308721 (diff) | |
download | scummvm-rg350-73b833042e55959954d78b3e6aa2cc89c5b8848d.tar.gz scummvm-rg350-73b833042e55959954d78b3e6aa2cc89c5b8848d.tar.bz2 scummvm-rg350-73b833042e55959954d78b3e6aa2cc89c5b8848d.zip |
Modified FilePluginProvider to use FSNodes (instead of raw filenames / paths) in its API
svn-id: r34709
Diffstat (limited to 'backends/plugins/posix/posix-provider.cpp')
-rw-r--r-- | backends/plugins/posix/posix-provider.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/backends/plugins/posix/posix-provider.cpp b/backends/plugins/posix/posix-provider.cpp index 39847e53bf..ec67e5768a 100644 --- a/backends/plugins/posix/posix-provider.cpp +++ b/backends/plugins/posix/posix-provider.cpp @@ -27,6 +27,7 @@ #include "backends/plugins/posix/posix-provider.h" #include "backends/plugins/dynamic-plugin.h" +#include "common/fs.h" #include <dlfcn.h> @@ -78,8 +79,8 @@ public: }; -Plugin* POSIXPluginProvider::createPlugin(const Common::String &filename) const { - return new POSIXPlugin(filename); +Plugin* POSIXPluginProvider::createPlugin(const Common::FilesystemNode &node) const { + return new POSIXPlugin(node.getPath()); } |