diff options
author | Robin Gareus <robin@gareus.org> | 2015-12-19 14:46:15 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-12-19 14:46:15 +0100 |
commit | d9eb5e00c52b40254afdc0f15dfe292b1b3753b6 (patch) | |
tree | 2607a578eef6b439987906a781a9128d6d0b127a /libs/ardour/ardour | |
parent | ec9a8f022c8fad38a82b78823e6158676f621a34 (diff) |
cont'd work on plugin-state templates - #6709
Refactor and consolidate code and re-use it for session-templates.
This avoids recursive copying of the plugin-dir()
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/route.h | 2 | ||||
-rw-r--r-- | libs/ardour/ardour/session.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/ardour/route.h b/libs/ardour/ardour/route.h index b63cbb9147..0ef063b29c 100644 --- a/libs/ardour/ardour/route.h +++ b/libs/ardour/ardour/route.h @@ -714,6 +714,8 @@ class LIBARDOUR_API Route : public SessionObject, public Automatable, public Rou void setup_invisible_processors (); void unpan (); + void set_plugin_state_dir (boost::weak_ptr<Processor>, const std::string&); + boost::shared_ptr<CapturingProcessor> _capturing_processor; /** A handy class to keep processor state while we attempt a reconfiguration diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index 6a73e85663..a5b93af041 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -1839,6 +1839,8 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop static int get_session_info_from_path (XMLTree& state_tree, const std::string& xmlpath); static const uint32_t session_end_shift; + + std::string _template_state_dir; }; |