Mercurial > hg > svcore
diff plugin/LADSPAPluginFactory.cpp @ 150:4b2ea82fd0ed
* Reorganising code base. This revision probably should compile once more.
author | Chris Cannam |
---|---|
date | Mon, 31 Jul 2006 14:05:22 +0000 |
parents | 82f529a08cf3 |
children | 5ae5885d6ce3 |
line wrap: on
line diff
--- a/plugin/LADSPAPluginFactory.cpp Mon Jul 31 12:03:45 2006 +0000 +++ b/plugin/LADSPAPluginFactory.cpp Mon Jul 31 14:05:22 2006 +0000 @@ -30,7 +30,7 @@ #include "LADSPAPluginInstance.h" #include "PluginIdentifier.h" -#include "base/System.h" +#include "system/System.h" #include "base/Preferences.h" #ifdef HAVE_LRDF @@ -541,12 +541,13 @@ } -#ifdef HAVE_LRDF std::vector<QString> LADSPAPluginFactory::getLRDFPath(QString &baseUri) { + std::vector<QString> lrdfPaths; + +#ifdef HAVE_LRDF std::vector<QString> pathList = getPluginPath(); - std::vector<QString> lrdfPaths; lrdfPaths.push_back("/usr/local/share/ladspa/rdf"); lrdfPaths.push_back("/usr/share/ladspa/rdf"); @@ -557,9 +558,10 @@ } baseUri = LADSPA_BASE; +#endif + return lrdfPaths; } -#endif void LADSPAPluginFactory::discoverPlugins()