summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/interface/ClientInterface.hpp5
-rw-r--r--src/common/interface/CommonInterface.hpp4
-rw-r--r--src/common/interface/EngineInterface.hpp14
3 files changed, 9 insertions, 14 deletions
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;