mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 14:15:46 +01:00
add a back-pointer to the owner of a Processor
Use SessionObject* rather than Route so that per-region plugins will be possible in the future.
This commit is contained in:
parent
a244075fb3
commit
d9058499af
3 changed files with 20 additions and 0 deletions
|
|
@ -269,3 +269,15 @@ Processor::set_ui (void* p)
|
|||
{
|
||||
_ui_pointer = p;
|
||||
}
|
||||
|
||||
void
|
||||
Processor::set_owner (SessionObject* o)
|
||||
{
|
||||
_owner = o;
|
||||
}
|
||||
|
||||
SessionObject*
|
||||
Processor::owner() const
|
||||
{
|
||||
return _owner;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue