From 8f36a5f887609ab5bf00309412312c563a5bafe9 Mon Sep 17 00:00:00 2001 From: Yotam Barnoy Date: Wed, 29 Dec 2010 15:25:21 +0000 Subject: PLUGINS: single plugin model now saves plugin filename to config file After searching for the right plugin once, the filename will be saved to the config file under the domain 'plugin_files'. The key is the gameid and the value is the plugin file. The backup mechanism is searching plugin by plugin. svn-id: r55061 --- backends/plugins/posix/posix-provider.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'backends/plugins/posix') diff --git a/backends/plugins/posix/posix-provider.cpp b/backends/plugins/posix/posix-provider.cpp index 01e48739bd..dd3591a992 100644 --- a/backends/plugins/posix/posix-provider.cpp +++ b/backends/plugins/posix/posix-provider.cpp @@ -37,7 +37,6 @@ class POSIXPlugin : public DynamicPlugin { protected: void *_dlHandle; - Common::String _filename; virtual VoidFunc findSymbol(const char *symbol) { void *func = dlsym(_dlHandle, symbol); @@ -56,7 +55,7 @@ protected: public: POSIXPlugin(const Common::String &filename) - : _dlHandle(0), _filename(filename) {} + : DynamicPlugin(filename), _dlHandle(0) {} bool loadPlugin() { assert(!_dlHandle); -- cgit v1.2.3