mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
change API of EditorSections to take an EditingContext& at construction
Then use this instead of PublicEditor::instance() in its code, mostly.
This commit is contained in:
parent
316947f7dc
commit
a8b4345d8f
3 changed files with 14 additions and 10 deletions
|
|
@ -29,10 +29,12 @@
|
|||
#include <ytkmm/treemodel.h>
|
||||
#include <ytkmm/treeview.h>
|
||||
|
||||
class EditingContext;
|
||||
|
||||
class EditorSections : public ARDOUR::SessionHandlePtr, public virtual sigc::trackable
|
||||
{
|
||||
public:
|
||||
EditorSections ();
|
||||
EditorSections (EditingContext&);
|
||||
|
||||
void set_session (ARDOUR::Session*);
|
||||
|
||||
|
|
@ -115,6 +117,7 @@ private:
|
|||
Gtk::TreeView _view;
|
||||
Gtk::ScrolledWindow _scroller;
|
||||
|
||||
EditingContext& editing_context;
|
||||
LocationRowMap _location_row_map;
|
||||
bool _no_redisplay;
|
||||
sigc::connection _scroll_timeout;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue