#include "ardour/session.h"
#include "ardour/types.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
using namespace std;
using namespace ARDOUR;
, _pre_fader (false)
, _ui_pointer (0)
, _window_proxy (0)
+ , _pinmgr_proxy (0)
, _owner (0)
{
}
, _pre_fader (false)
, _ui_pointer (0)
, _window_proxy (0)
+ , _pinmgr_proxy (0)
, _owner (0)
{
}
XMLNode& automation = Automatable::get_automation_xml_state();
if (!automation.children().empty() || !automation.properties().empty()) {
node->add_child_nocopy (automation);
+ } else {
+ delete &automation;
}
}
return set_state_2X (node, version);
}
- const XMLProperty *prop;
- const XMLProperty *legacy_active = 0;
+ XMLProperty const * prop;
+ XMLProperty const * legacy_active = 0;
bool leave_name_alone = (node.property ("ignore-name") != 0);
if (!leave_name_alone) {
if ((*niter)->name() == X_("Automation")) {
- XMLProperty *prop;
+ XMLProperty const * prop;
if ((prop = (*niter)->property ("path")) != 0) {
old_set_automation_state (*(*niter));
_ui_pointer = p;
}
-void
-Processor::set_window_proxy (ProcessorWindowProxy* wp)
-{
- _window_proxy = wp;
-}
-
void
Processor::set_owner (SessionObject* o)
{