diff options
Diffstat (limited to 'src/shared/ClashAvoider.cpp')
-rw-r--r-- | src/shared/ClashAvoider.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/shared/ClashAvoider.cpp b/src/shared/ClashAvoider.cpp index 41da3eeb..39338e99 100644 --- a/src/shared/ClashAvoider.cpp +++ b/src/shared/ClashAvoider.cpp @@ -168,6 +168,14 @@ ClashAvoider::new_port(const std::string& path, void +ClashAvoider::rename(const std::string& old_path, + const std::string& new_path) +{ + _target.rename(map_path(old_path), map_path(new_path)); +} + + +void ClashAvoider::connect(const std::string& src_port_path, const std::string& dst_port_path) { @@ -225,5 +233,12 @@ ClashAvoider::destroy(const std::string& path) } +void +ClashAvoider::clear_patch(const std::string& path) +{ + _target.clear_patch(map_path(path)); +} + + } // namespace Shared } // namespace Ingen |