for (list<ControlProtocolInfo*>::iterator i = control_protocol_info.begin(); i != control_protocol_info.end(); ++i) {
if ((*i)->requested || (*i)->mandatory) {
+
instantiate (**i);
(*i)->requested = false;
ControlProtocolInfo* cpi = cpi_by_name (prop->value());
if (cpi) {
-
- if (!(*citer)->children().empty()) {
- cpi->state = new XMLNode (*((*citer)->children().front ()));
- } else {
- cpi->state = 0;
- }
+ cpi->state = new XMLNode (**citer);
if (active) {
if (_session) {
return 0;
}
+ nlist = nlist.front()->children(); // "MIDIControllable" ...
+
+ if (nlist.empty()) {
+ return 0;
+ }
+
for (niter = nlist.begin(); niter != nlist.end(); ++niter) {
+
+
if ((prop = (*niter)->property ("id")) != 0) {
}
}
}
-
}
if ((prop = node.property ("binding")) != 0) {