Compiles, but doesn't link. The link errors are mostly expected and are

tomorrow's task.

git-svn-id: svn://localhost/ardour2/branches/undo@719 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Hans Fugal 2006-07-29 03:17:11 +00:00
parent 277b771a97
commit 1f1c4981de
30 changed files with 257 additions and 243 deletions

View file

@ -20,6 +20,7 @@
#include <ardour/curve.h>
#include <ardour/route.h>
#include <pbd/memento_command.h>
#include "gain_automation_time_axis.h"
#include "automation_line.h"
@ -61,11 +62,10 @@ GainAutomationTimeAxisView::add_automation_event (ArdourCanvas::Item* item, GdkE
_session.begin_reversible_command (_("add gain automation event"));
XMLNode &before, &after;
before = curve.get_state();
XMLNode &before = curve.get_state();
curve.add (when, y);
after = curve.get_state();
_session.add_command(MementoCommand<ARDOUR::Curve>(curve, before, after));
XMLNode &after = curve.get_state();
_session.add_command(new MementoCommand<ARDOUR::Curve>(curve, before, after));
_session.commit_reversible_command ();
_session.set_dirty ();
}