From ed1032ca54a55c48d2f7c9709b77a4f4da935e99 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 12 May 2009 21:58:35 +0000 Subject: Bring EngineInterface and ClientInterface closer together. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1990 a436a847-0d15-0410-975c-d299462d15a1 --- src/common/interface/ClientInterface.hpp | 5 ----- src/common/interface/CommonInterface.hpp | 5 +++++ src/common/interface/EngineInterface.hpp | 16 ---------------- 3 files changed, 5 insertions(+), 21 deletions(-) (limited to 'src/common/interface') diff --git a/src/common/interface/ClientInterface.hpp b/src/common/interface/ClientInterface.hpp index 80a48dc9..23e3c375 100644 --- a/src/common/interface/ClientInterface.hpp +++ b/src/common/interface/ClientInterface.hpp @@ -65,11 +65,6 @@ public: const std::string& type_uri, const std::string& symbol) = 0; - virtual void patch_cleared(const std::string& path) = 0; - - virtual void object_renamed(const std::string& old_path, - const std::string& new_path) = 0; - virtual void activity(const std::string& 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 d25e173d..9bbef09d 100644 --- a/src/common/interface/CommonInterface.hpp +++ b/src/common/interface/CommonInterface.hpp @@ -58,6 +58,9 @@ public: uint32_t index, bool is_output) = 0; + virtual void rename(const std::string& old_path, + const std::string& new_path) = 0; + virtual void connect(const std::string& src_port_path, const std::string& dst_port_path) = 0; @@ -80,6 +83,8 @@ public: const Raul::Atom& value) = 0; virtual void destroy(const std::string& path) = 0; + + virtual void clear_patch(const std::string& patch_path) = 0; }; diff --git a/src/common/interface/EngineInterface.hpp b/src/common/interface/EngineInterface.hpp index dc5be1dc..2e84e4e3 100644 --- a/src/common/interface/EngineInterface.hpp +++ b/src/common/interface/EngineInterface.hpp @@ -54,10 +54,6 @@ public: virtual void deactivate() = 0; virtual void quit() = 0; - // Bundles - virtual void bundle_begin() = 0; - virtual void bundle_end() = 0; - // Object commands /** DEPRECATED */ @@ -65,22 +61,10 @@ public: const std::string& plugin_type, const std::string& library_name, const std::string& plugin_label) = 0; - - virtual void rename(const std::string& old_path, - const std::string& new_symbol) = 0; - - virtual void clear_patch(const std::string& patch_path) = 0; virtual void disconnect_all(const std::string& parent_patch_path, const std::string& path) = 0; - virtual void set_port_value(const std::string& port_path, - const Raul::Atom& value) = 0; - - virtual void set_voice_value(const std::string& port_path, - uint32_t voice, - const Raul::Atom& value) = 0; - virtual void set_program(const std::string& node_path, uint32_t bank, uint32_t program) = 0; -- cgit v1.2.1