From 1b8f06504a155e75a9419dfa5c9bf9df1866e01d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 19 Aug 2008 01:41:42 +0000 Subject: Factor out destroy (and object_destroyed) to common interface. git-svn-id: http://svn.drobilla.net/lad/ingen@1443 a436a847-0d15-0410-975c-d299462d15a1 --- src/common/interface/ClientInterface.hpp | 2 -- src/common/interface/CommonInterface.hpp | 2 ++ src/common/interface/EngineInterface.hpp | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/common') diff --git a/src/common/interface/ClientInterface.hpp b/src/common/interface/ClientInterface.hpp index ee45052a..d77391f8 100644 --- a/src/common/interface/ClientInterface.hpp +++ b/src/common/interface/ClientInterface.hpp @@ -77,8 +77,6 @@ public: virtual void object_renamed(const std::string& old_path, const std::string& new_path) = 0; - virtual void object_destroyed(const std::string& path) = 0; - virtual void port_activity(const std::string& port_path) = 0; virtual void program_add(const std::string& node_path, diff --git a/src/common/interface/CommonInterface.hpp b/src/common/interface/CommonInterface.hpp index e76d0ce7..a0d52791 100644 --- a/src/common/interface/CommonInterface.hpp +++ b/src/common/interface/CommonInterface.hpp @@ -75,6 +75,8 @@ public: virtual void set_voice_value(const std::string& port_path, uint32_t voice, const Raul::Atom& value) = 0; + + virtual void destroy(const std::string& path) = 0; }; diff --git a/src/common/interface/EngineInterface.hpp b/src/common/interface/EngineInterface.hpp index e005502e..b82bf8c2 100644 --- a/src/common/interface/EngineInterface.hpp +++ b/src/common/interface/EngineInterface.hpp @@ -68,8 +68,6 @@ public: virtual void rename(const std::string& old_path, const std::string& new_symbol) = 0; - virtual void destroy(const std::string& path) = 0; - virtual void clear_patch(const std::string& patch_path) = 0; virtual void disconnect_all(const std::string& parent_patch_path, -- cgit v1.2.1