From fa067527fe00b66b85d71955e152e9ef9215c9cd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 17 Aug 2008 04:05:30 +0000 Subject: 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 --- src/common/interface/ClientInterface.hpp | 6 ------ src/common/interface/CommonInterface.hpp | 3 +-- src/common/interface/EngineInterface.hpp | 6 ++++-- 3 files changed, 5 insertions(+), 10 deletions(-) (limited to 'src/common/interface') 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; -- cgit v1.2.1