comparison rdf/RDFFeatureWriter.cpp @ 717:bcdb2a18d9bc library_integration

Revert that change -- this code is used only in Sonic Annotator
author Chris Cannam
date Tue, 18 Oct 2011 10:14:17 +0100
parents eb741b4e8d21
children
comparison
equal deleted inserted replaced
716:c10853ea9b71 717:bcdb2a18d9bc
73 p.name = "maker-uri"; 73 p.name = "maker-uri";
74 p.description = "Link the track in the output RDF to the given foaf:maker URI."; 74 p.description = "Link the track in the output RDF to the given foaf:maker URI.";
75 p.hasArg = true; 75 p.hasArg = true;
76 pl.push_back(p); 76 pl.push_back(p);
77 77
78 //mathieub: remove this functionality for the library edition 78 p.name = "network";
79 //p.name = "network"; 79 p.description = "Attempt to retrieve RDF descriptions of plugins from network, if not available locally";
80 //p.description = "Attempt to retrieve RDF descriptions of plugins from network, if not available locally"; 80 p.hasArg = false;
81 //p.hasArg = false; 81 pl.push_back(p);
82 //pl.push_back(p);
83 82
84 return pl; 83 return pl;
85 } 84 }
86 85
87 void 86 void
101 m_userTrackUri = i->second.c_str(); 100 m_userTrackUri = i->second.c_str();
102 } 101 }
103 if (i->first == "maker-uri") { 102 if (i->first == "maker-uri") {
104 m_userMakerUri = i->second.c_str(); 103 m_userMakerUri = i->second.c_str();
105 } 104 }
106 //mathieub: remove this functionality for the library edition 105 if (i->first == "network") {
107 //if (i->first == "network") { 106 m_network = true;
108 // m_network = true; 107 }
109 //}
110 } 108 }
111 } 109 }
112 110
113 void 111 void
114 RDFFeatureWriter::setTrackMetadata(QString trackId, 112 RDFFeatureWriter::setTrackMetadata(QString trackId,