Mercurial > hg > svcore
diff rdf/PluginRDFIndexer.cpp @ 731:760feced8380 dataquay
Accept .ttl extension for plugin description files
author | Chris Cannam |
---|---|
date | Mon, 21 May 2012 22:38:09 +0100 |
parents | 27c861cce97b |
children | e802e550a1f2 |
line wrap: on
line diff
--- a/rdf/PluginRDFIndexer.cpp Mon May 21 14:33:35 2012 +0100 +++ b/rdf/PluginRDFIndexer.cpp Mon May 21 22:38:09 2012 +0100 @@ -88,15 +88,17 @@ // std::cerr << "\nPluginRDFIndexer::indexInstalledURLs: pid is " << getpid() << std::endl; QStringList filters; + filters << "*.ttl"; + filters << "*.TTL"; filters << "*.n3"; filters << "*.N3"; filters << "*.rdf"; filters << "*.RDF"; - // Search each Vamp plugin path for a .rdf file that either has + // Search each Vamp plugin path for an RDF file that either has // name "soname", "soname:label" or "soname/label" plus RDF - // extension. Use that order of preference, and prefer n3 over - // rdf extension. + // extension. Use that order of preference, and prefer ttl over + // n3 over rdf extension. for (vector<string>::const_iterator i = paths.begin(); i != paths.end(); ++i) {