Mercurial > hg > svcore
comparison plugin/LADSPAPluginFactory.cpp @ 929:59e7fe1b1003 warnfix_no_size_t
Unsigned removals and warning fixes in data/
author | Chris Cannam |
---|---|
date | Tue, 17 Jun 2014 14:33:42 +0100 |
parents | f5cd33909744 |
children | f5810f1270ae |
comparison
equal
deleted
inserted
replaced
928:6a94bb528e9d | 929:59e7fe1b1003 |
---|---|
670 i != pathList.end(); ++i) { | 670 i != pathList.end(); ++i) { |
671 | 671 |
672 QDir pluginDir(*i, PLUGIN_GLOB); | 672 QDir pluginDir(*i, PLUGIN_GLOB); |
673 | 673 |
674 for (unsigned int j = 0; j < pluginDir.count(); ++j) { | 674 for (unsigned int j = 0; j < pluginDir.count(); ++j) { |
675 discoverPlugins(QString("%1/%2").arg(*i).arg(pluginDir[j])); | 675 discoverPluginsFrom(QString("%1/%2").arg(*i).arg(pluginDir[j])); |
676 } | 676 } |
677 } | 677 } |
678 } | 678 } |
679 | 679 |
680 void | 680 void |
681 LADSPAPluginFactory::discoverPlugins(QString soname) | 681 LADSPAPluginFactory::discoverPluginsFrom(QString soname) |
682 { | 682 { |
683 void *libraryHandle = DLOPEN(soname, RTLD_LAZY); | 683 void *libraryHandle = DLOPEN(soname, RTLD_LAZY); |
684 | 684 |
685 if (!libraryHandle) { | 685 if (!libraryHandle) { |
686 cerr << "WARNING: LADSPAPluginFactory::discoverPlugins: couldn't load plugin library " | 686 cerr << "WARNING: LADSPAPluginFactory::discoverPlugins: couldn't load plugin library " |