diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-10-14 11:12:50 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-10-14 11:12:50 -0400 |
commit | d9058499afa3fc84a6746f290c4b87501a4dcb4b (patch) | |
tree | 8d2149818d082f488ed7ce7932fccc1c5a516958 /libs/ardour/processor.cc | |
parent | a244075fb31868a9108202763dbd304ddc853a75 (diff) |
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.
Diffstat (limited to 'libs/ardour/processor.cc')
-rw-r--r-- | libs/ardour/processor.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/ardour/processor.cc b/libs/ardour/processor.cc index 3f8fdf509d..f9590bee11 100644 --- a/libs/ardour/processor.cc +++ b/libs/ardour/processor.cc @@ -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; +} |