Add set_motorised().

git-svn-id: svn://localhost/ardour2/branches/3.0@11728 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington
2012-03-19 01:34:35 +00:00
parent 0deb2aa9af
commit 8063027507
2 changed files with 8 additions and 0 deletions

View File

@@ -986,3 +986,9 @@ GenericMidiControlProtocol::prev_bank()
reset_controllables ();
}
}
void
GenericMidiControlProtocol::set_motorised (bool m)
{
_motorised = m;
}

View File

@@ -81,6 +81,8 @@ class GenericMidiControlProtocol : public ARDOUR::ControlProtocol {
void next_bank ();
void prev_bank ();
void set_motorised (bool);
bool motorised () const {
return _motorised;
}