comparison plugin/DSSIPluginFactory.cpp @ 35:0164c8d3023b

* Rejig project file a bit to do pkg-config detection &c and change some HAVE_* symbol names accordingly * Add selection move/resize/delete * First stubs for add layer / pane commands
author Chris Cannam
date Wed, 01 Mar 2006 18:13:01 +0000
parents 2fb933f88604
children 39ae3dee27b9
comparison
equal deleted inserted replaced
34:aaf73f7309f2 35:0164c8d3023b
24 //!!! 24 //!!!
25 #include "plugins/SamplePlayer.h" 25 #include "plugins/SamplePlayer.h"
26 26
27 #include "base/System.h" 27 #include "base/System.h"
28 28
29 #ifdef HAVE_LIBLRDF 29 #ifdef HAVE_LRDF
30 #include "lrdf.h" 30 #include "lrdf.h"
31 #endif // HAVE_LIBLRDF 31 #endif // HAVE_LRDF
32 32
33 33
34 DSSIPluginFactory::DSSIPluginFactory() : 34 DSSIPluginFactory::DSSIPluginFactory() :
35 LADSPAPluginFactory() 35 LADSPAPluginFactory()
36 { 36 {
215 215
216 return pathList; 216 return pathList;
217 } 217 }
218 218
219 219
220 #ifdef HAVE_LIBLRDF 220 #ifdef HAVE_LRDF
221 std::vector<QString> 221 std::vector<QString>
222 DSSIPluginFactory::getLRDFPath(QString &baseUri) 222 DSSIPluginFactory::getLRDFPath(QString &baseUri)
223 { 223 {
224 std::vector<QString> pathList = getPluginPath(); 224 std::vector<QString> pathList = getPluginPath();
225 std::vector<QString> lrdfPaths; 225 std::vector<QString> lrdfPaths;
278 std::cerr << "WARNING: DSSIPluginFactory::discoverPlugins: No LADSPA descriptor for plugin " << index << " in " << soname.toStdString() << std::endl; 278 std::cerr << "WARNING: DSSIPluginFactory::discoverPlugins: No LADSPA descriptor for plugin " << index << " in " << soname.toStdString() << std::endl;
279 ++index; 279 ++index;
280 continue; 280 continue;
281 } 281 }
282 282
283 #ifdef HAVE_LIBLRDF 283 #ifdef HAVE_LRDF
284 char *def_uri = 0; 284 char *def_uri = 0;
285 lrdf_defaults *defs = 0; 285 lrdf_defaults *defs = 0;
286 286
287 QString category = m_taxonomy[ladspaDescriptor->UniqueID]; 287 QString category = m_taxonomy[ladspaDescriptor->UniqueID];
288 288
328 } 328 }
329 329
330 ++controlPortNumber; 330 ++controlPortNumber;
331 } 331 }
332 } 332 }
333 #endif // HAVE_LIBLRDF 333 #endif // HAVE_LRDF
334 334
335 QString identifier = PluginIdentifier::createIdentifier 335 QString identifier = PluginIdentifier::createIdentifier
336 ("dssi", soname, ladspaDescriptor->Label); 336 ("dssi", soname, ladspaDescriptor->Label);
337 m_identifiers.push_back(identifier); 337 m_identifiers.push_back(identifier);
338 338