comparison plugin/DSSIPluginFactory.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 7afcfe666910
children 5ae5885d6ce3
comparison
equal deleted inserted replaced
149:3e4c384f518e 150:4b2ea82fd0ed
25 25
26 #include "DSSIPluginInstance.h" 26 #include "DSSIPluginInstance.h"
27 #include "PluginIdentifier.h" 27 #include "PluginIdentifier.h"
28 28
29 //!!! 29 //!!!
30 #include "plugins/SamplePlayer.h" 30 #include "plugin/plugins/SamplePlayer.h"
31 31
32 #include "base/System.h" 32 #include "system/System.h"
33 33
34 #ifdef HAVE_LRDF 34 #ifdef HAVE_LRDF
35 #include "lrdf.h" 35 #include "lrdf.h"
36 #endif // HAVE_LRDF 36 #endif // HAVE_LRDF
37 37
223 223
224 return pathList; 224 return pathList;
225 } 225 }
226 226
227 227
228 #ifdef HAVE_LRDF
229 std::vector<QString> 228 std::vector<QString>
230 DSSIPluginFactory::getLRDFPath(QString &baseUri) 229 DSSIPluginFactory::getLRDFPath(QString &baseUri)
231 { 230 {
231 std::vector<QString> lrdfPaths;
232
233 #ifdef HAVE_LRDF
232 std::vector<QString> pathList = getPluginPath(); 234 std::vector<QString> pathList = getPluginPath();
233 std::vector<QString> lrdfPaths;
234 235
235 lrdfPaths.push_back("/usr/local/share/dssi/rdf"); 236 lrdfPaths.push_back("/usr/local/share/dssi/rdf");
236 lrdfPaths.push_back("/usr/share/dssi/rdf"); 237 lrdfPaths.push_back("/usr/share/dssi/rdf");
237 238
238 lrdfPaths.push_back("/usr/local/share/ladspa/rdf"); 239 lrdfPaths.push_back("/usr/local/share/ladspa/rdf");
246 #ifdef DSSI_BASE 247 #ifdef DSSI_BASE
247 baseUri = DSSI_BASE; 248 baseUri = DSSI_BASE;
248 #else 249 #else
249 baseUri = "http://dssi.sourceforge.net/ontology#"; 250 baseUri = "http://dssi.sourceforge.net/ontology#";
250 #endif 251 #endif
252 #endif
251 253
252 return lrdfPaths; 254 return lrdfPaths;
253 } 255 }
254 #endif
255 256
256 257
257 void 258 void
258 DSSIPluginFactory::discoverPlugins(QString soname) 259 DSSIPluginFactory::discoverPlugins(QString soname)
259 { 260 {