mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 22:26:29 +01:00
controllers need to be updated when tracks are added so they can rebuild the route table
git-svn-id: svn://localhost/ardour2/trunk@1777 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
66d083ef80
commit
dbffba81c5
2 changed files with 11 additions and 0 deletions
|
|
@ -47,6 +47,8 @@ class ControlProtocol : public sigc::trackable, public Stateful, public BasicUI
|
|||
virtual int set_feedback (bool yn) { return 0; }
|
||||
virtual bool get_feedback () const { return false; }
|
||||
|
||||
virtual void route_list_changed () {}
|
||||
|
||||
sigc::signal<void> ActiveChanged;
|
||||
|
||||
/* signals that a control protocol can emit and other (presumably graphical)
|
||||
|
|
@ -101,6 +103,8 @@ class ControlProtocol : public sigc::trackable, public Stateful, public BasicUI
|
|||
std::string _name;
|
||||
bool _active;
|
||||
|
||||
void add_strip (std::list<boost::shared_ptr<ARDOUR::Route> >);
|
||||
|
||||
void next_track (uint32_t initial_id);
|
||||
void prev_track (uint32_t initial_id);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue