summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-17 04:05:30 +0000
committerDavid Robillard <d@drobilla.net>2008-08-17 04:05:30 +0000
commitfa067527fe00b66b85d71955e152e9ef9215c9cd (patch)
tree382a8e9e58259929415e7188992252ac1ca2ea9b /src/common
parent3019b09099371b3fe568b7dcc3bb92203d800b1f (diff)
downloadingen-fa067527fe00b66b85d71955e152e9ef9215c9cd.tar.gz
ingen-fa067527fe00b66b85d71955e152e9ef9215c9cd.tar.bz2
ingen-fa067527fe00b66b85d71955e152e9ef9215c9cd.zip
Replace imperative polyphony/polyphonic stuff with properties (kill more API).
git-svn-id: http://svn.drobilla.net/lad/ingen@1412 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/common')
-rw-r--r--src/common/interface/ClientInterface.hpp6
-rw-r--r--src/common/interface/CommonInterface.hpp3
-rw-r--r--src/common/interface/EngineInterface.hpp6
3 files changed, 5 insertions, 10 deletions
diff --git a/src/common/interface/ClientInterface.hpp b/src/common/interface/ClientInterface.hpp
index e4e1ef44..38625a15 100644
--- a/src/common/interface/ClientInterface.hpp
+++ b/src/common/interface/ClientInterface.hpp
@@ -74,12 +74,6 @@ public:
const std::string& symbol,
const std::string& name) = 0;
- virtual void polyphonic(const std::string& path,
- bool polyphonic) = 0;
-
- virtual void patch_polyphony(const std::string& path,
- uint32_t poly) = 0;
-
virtual void patch_cleared(const std::string& path) = 0;
virtual void object_renamed(const std::string& old_path,
diff --git a/src/common/interface/CommonInterface.hpp b/src/common/interface/CommonInterface.hpp
index db5234de..e76d0ce7 100644
--- a/src/common/interface/CommonInterface.hpp
+++ b/src/common/interface/CommonInterface.hpp
@@ -48,8 +48,7 @@ public:
uint32_t poly) = 0;
virtual void new_node(const std::string& path,
- const std::string& plugin_uri,
- bool polyphonic) = 0;
+ const std::string& plugin_uri) = 0;
virtual void new_port(const std::string& path,
uint32_t index,
diff --git a/src/common/interface/EngineInterface.hpp b/src/common/interface/EngineInterface.hpp
index 05fcb822..4cd8c64e 100644
--- a/src/common/interface/EngineInterface.hpp
+++ b/src/common/interface/EngineInterface.hpp
@@ -63,8 +63,7 @@ public:
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;
+ const std::string& plugin_label) = 0;
virtual void rename(const std::string& old_path,
const std::string& new_symbol) = 0;
@@ -109,6 +108,9 @@ public:
virtual void request_variable(const std::string& path,
const std::string& key) = 0;
+
+ virtual void request_property(const std::string& path,
+ const std::string& key) = 0;
virtual void request_plugins() = 0;