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:
Paul Davis 2013-10-14 11:12:50 -04:00
parent a244075fb3
commit d9058499af
3 changed files with 20 additions and 0 deletions

View file

@ -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;
}