-void
-RouteTimeAxisView::set_playlist (boost::shared_ptr<Playlist> newplaylist)
-{
- boost::shared_ptr<Playlist> pl = playlist();
- assert(pl);
-
- modified_connection.disconnect ();
- modified_connection = pl->Modified.connect (mem_fun(*this, &RouteTimeAxisView::playlist_modified));
-}
-
-void
-RouteTimeAxisView::playlist_modified ()
-{
-}
-
-void
-RouteTimeAxisView::set_state (const XMLNode& node)
-{
- const XMLProperty *prop;
-
- TimeAxisView::set_state (node);
-
- if ((prop = node.property ("shown_editor")) != 0) {
- if (prop->value() == "no") {
- _marked_for_display = false;
- } else {
- _marked_for_display = true;
- }
- } else {
- _marked_for_display = true;
- }
-
- XMLNodeList nlist = node.children();
- XMLNodeConstIterator niter;
- XMLNode *child_node;
-
- _show_automation.clear();
-
- for (niter = nlist.begin(); niter != nlist.end(); ++niter) {
- child_node = *niter;
-
- if (child_node->name() == AutomationTimeAxisView::state_node_name) {
- XMLProperty* prop = child_node->property ("automation-id");
- if (!prop)
- continue;
-
- Parameter param(prop->value());
- if (!param)
- continue;
-
- bool show = false;
-
- prop = child_node->property ("shown");
-
- if (prop && prop->value() == "yes") {
- show = true;
- _show_automation.insert(param);
- }
-
- if (_automation_tracks.find(param) == _automation_tracks.end()) {
- create_automation_child(param, show);
- }
- }
- else if (child_node->name() == "Underlays") {
- underlay_xml_node = child_node;
-
- /* Wait for all gui tracks to be loaded as underlays are cross referencing tracks*/
- Glib::signal_idle().connect(mem_fun(*this, &RouteTimeAxisView::set_underlay_state));
- }
- }
-}
-
-XMLNode*
-RouteTimeAxisView::get_automation_child_xml_node (Parameter param)
-{
- return RouteUI::get_automation_child_xml_node (param);
-}
-