summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-16 23:30:21 +0000
committerDavid Robillard <d@drobilla.net>2008-08-16 23:30:21 +0000
commit3dc90cc95df35e5c786857336f22856c6373b00f (patch)
tree5d59f52c6242e6a0fced015542bd966f33779815 /src/common
parentd72ed9fd506756c83d97b62f6640135f3b8c32bb (diff)
downloadingen-3dc90cc95df35e5c786857336f22856c6373b00f.tar.gz
ingen-3dc90cc95df35e5c786857336f22856c6373b00f.tar.bz2
ingen-3dc90cc95df35e5c786857336f22856c6373b00f.zip
Clooser...
git-svn-id: http://svn.drobilla.net/lad/ingen@1408 a436a847-0d15-0410-975c-d299462d15a1
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;