Midi pencil undo (not yet serializable).

Formatting fixes for session.h (ie kill more of those damned 8 space expanded tabs).


git-svn-id: svn://localhost/ardour2/trunk@2135 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2007-07-17 01:48:42 +00:00
parent 37c74810d2
commit f542fa693c
7 changed files with 210 additions and 54 deletions

View file

@ -44,7 +44,7 @@ sigc::signal<void,MidiSource *> MidiSource::MidiSourceCreated;
MidiSource::MidiSource (Session& s, string name)
: Source (s, name, DataType::MIDI)
, _model(new MidiModel())
, _model(new MidiModel(s))
, _model_loaded (false)
{
_read_data_count = 0;
@ -53,7 +53,7 @@ MidiSource::MidiSource (Session& s, string name)
MidiSource::MidiSource (Session& s, const XMLNode& node)
: Source (s, node)
, _model(new MidiModel())
, _model(new MidiModel(s))
, _model_loaded (false)
{
_read_data_count = 0;