mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 06:05:43 +01:00
Add BasicUI::selection()
Towards removing the direct use of Session by surfaces.
This commit is contained in:
parent
8cbff2b202
commit
003f1a4974
3 changed files with 21 additions and 10 deletions
|
|
@ -901,6 +901,12 @@ BasicUI::locations ()
|
|||
return _session->locations ();
|
||||
}
|
||||
|
||||
CoreSelection&
|
||||
BasicUI::selection () const
|
||||
{
|
||||
return _session->selection ();
|
||||
}
|
||||
|
||||
/* Signals */
|
||||
|
||||
PBD::Signal0<void>&
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@
|
|||
namespace ARDOUR {
|
||||
|
||||
class Amp;
|
||||
class CoreSelection;
|
||||
class Locations;
|
||||
class RouteGroup;
|
||||
class Session;
|
||||
|
|
@ -220,6 +221,10 @@ public:
|
|||
const Locations* locations () const;
|
||||
Locations* locations ();
|
||||
|
||||
/* Selection */
|
||||
|
||||
CoreSelection& selection () const;
|
||||
|
||||
/* Signals */
|
||||
|
||||
PBD::Signal0<void>& BundleAddedOrRemoved ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue