comparison rdf/generator/vamp-rdf-template-generator.cpp @ 365:feac60b5d82b

Add dc:title for plugin library
author Chris Cannam
date Thu, 05 Jun 2014 15:40:04 +0100
parents 34754c776530
children aede6e90a6b8
comparison
equal deleted inserted replaced
360:2741e4323d1d 365:feac60b5d82b
91 91
92 string describe_library(string libname, vector<Plugin *> plugins) 92 string describe_library(string libname, vector<Plugin *> plugins)
93 { 93 {
94 string res=\ 94 string res=\
95 ":"+libname+" a vamp:PluginLibrary ;\n\ 95 ":"+libname+" a vamp:PluginLibrary ;\n\
96 vamp:identifier \""+libname+"\" "; 96 vamp:identifier \""+libname+"\"";
97 97
98 for (size_t i = 0; i < plugins.size(); ++i) { 98 for (size_t i = 0; i < plugins.size(); ++i) {
99 res += " ; \n\ 99 res += " ; \n\
100 vamp:available_plugin plugbase:"+plugins[i]->getIdentifier(); 100 vamp:available_plugin plugbase:"+plugins[i]->getIdentifier();
101 } 101 }
102 102
103 res += " ; \n\ 103 res += " ; \n\
104 # dc:title \"\" ; # Place a descriptive name for the plugin library here and uncomment\n\
104 # foaf:page <Place more-information HTML page URL here and uncomment> ;\n\ 105 # foaf:page <Place more-information HTML page URL here and uncomment> ;\n\
105 .\n\n"; 106 .\n\n";
106 return res; 107 return res;
107 } 108 }
108 109