From 3dc90cc95df35e5c786857336f22856c6373b00f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 16 Aug 2008 23:30:21 +0000 Subject: Clooser... git-svn-id: http://svn.drobilla.net/lad/ingen@1408 a436a847-0d15-0410-975c-d299462d15a1 --- src/common/interface/ClientInterface.hpp | 5 ----- src/common/interface/CommonInterface.hpp | 4 ++++ src/common/interface/EngineInterface.hpp | 14 +++++--------- 3 files changed, 9 insertions(+), 14 deletions(-) (limited to 'src/common') diff --git a/src/common/interface/ClientInterface.hpp b/src/common/interface/ClientInterface.hpp index 399085e4..e6bb9d6d 100644 --- a/src/common/interface/ClientInterface.hpp +++ b/src/common/interface/ClientInterface.hpp @@ -75,11 +75,6 @@ public: const std::string& symbol, const std::string& name) = 0; - virtual void new_node(const std::string& plugin_uri, - const std::string& node_path, - bool is_polyphonic, - uint32_t num_ports) = 0; - virtual void new_port(const std::string& path, uint32_t index, const std::string& data_type, diff --git a/src/common/interface/CommonInterface.hpp b/src/common/interface/CommonInterface.hpp index 5f8fc1f5..f8a71b94 100644 --- a/src/common/interface/CommonInterface.hpp +++ b/src/common/interface/CommonInterface.hpp @@ -47,6 +47,10 @@ public: virtual void new_patch(const std::string& path, uint32_t poly) = 0; + virtual void new_node(const std::string& path, + const std::string& plugin_uri, + bool polyphonic) = 0; + virtual void connect(const std::string& src_port_path, const std::string& dst_port_path) = 0; diff --git a/src/common/interface/EngineInterface.hpp b/src/common/interface/EngineInterface.hpp index ead27bc5..ae424e52 100644 --- a/src/common/interface/EngineInterface.hpp +++ b/src/common/interface/EngineInterface.hpp @@ -58,20 +58,16 @@ public: // Object commands - virtual void new_node(const std::string& path, - const std::string& plugin_uri, - bool polyphonic) = 0; - virtual void new_port(const std::string& path, const std::string& data_type, bool is_output) = 0; /** DEPRECATED */ - virtual void new_node(const std::string& path, - const std::string& plugin_type, - const std::string& library_name, - const std::string& plugin_label, - bool polyphonic) = 0; + virtual void new_node_deprecated(const std::string& path, + const std::string& plugin_type, + const std::string& library_name, + const std::string& plugin_label, + bool polyphonic) = 0; virtual void rename(const std::string& old_path, const std::string& new_symbol) = 0; -- cgit v1.2.1