From d6823fa9b29bcff74ca180e6d389d8a21cf88d1f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 17 Aug 2008 03:10:58 +0000 Subject: There! Loader uses only CommonInterface and is now able to parse into a client or engine. Proper OSC serialisation of boolean atoms. Remove patch_enabled and patch_disabled calls/signals/etc in favour of new generic "property" mechanism (courtesy of which much more killed API is to come). git-svn-id: http://svn.drobilla.net/lad/ingen@1410 a436a847-0d15-0410-975c-d299462d15a1 --- src/common/interface/ClientInterface.hpp | 9 --------- src/common/interface/CommonInterface.hpp | 9 +++++++++ src/common/interface/EngineInterface.hpp | 8 -------- 3 files changed, 9 insertions(+), 17 deletions(-) (limited to 'src/common/interface') diff --git a/src/common/interface/ClientInterface.hpp b/src/common/interface/ClientInterface.hpp index 16e17fc0..e4e1ef44 100644 --- a/src/common/interface/ClientInterface.hpp +++ b/src/common/interface/ClientInterface.hpp @@ -74,18 +74,9 @@ public: const std::string& symbol, const std::string& name) = 0; - virtual void new_port(const std::string& path, - uint32_t index, - const std::string& data_type, - bool is_output) = 0; - virtual void polyphonic(const std::string& path, bool polyphonic) = 0; - virtual void patch_enabled(const std::string& path) = 0; - - virtual void patch_disabled(const std::string& path) = 0; - virtual void patch_polyphony(const std::string& path, uint32_t poly) = 0; diff --git a/src/common/interface/CommonInterface.hpp b/src/common/interface/CommonInterface.hpp index 1f760a3e..db5234de 100644 --- a/src/common/interface/CommonInterface.hpp +++ b/src/common/interface/CommonInterface.hpp @@ -51,6 +51,11 @@ public: const std::string& plugin_uri, bool polyphonic) = 0; + virtual void new_port(const std::string& path, + uint32_t index, + const std::string& data_type, + bool is_output) = 0; + virtual void connect(const std::string& src_port_path, const std::string& dst_port_path) = 0; @@ -61,6 +66,10 @@ public: const std::string& predicate, const Raul::Atom& value) = 0; + virtual void set_property(const std::string& subject_path, + const std::string& predicate, + const Raul::Atom& value) = 0; + virtual void set_port_value(const std::string& port_path, const Raul::Atom& value) = 0; diff --git a/src/common/interface/EngineInterface.hpp b/src/common/interface/EngineInterface.hpp index 3983dc65..05fcb822 100644 --- a/src/common/interface/EngineInterface.hpp +++ b/src/common/interface/EngineInterface.hpp @@ -59,10 +59,6 @@ public: // Object commands - virtual void new_port(const std::string& path, - const std::string& data_type, - bool is_output) = 0; - /** DEPRECATED */ virtual void new_node_deprecated(const std::string& path, const std::string& plugin_type, @@ -81,10 +77,6 @@ public: virtual void set_polyphonic(const std::string& path, bool poly) = 0; - virtual void enable_patch(const std::string& patch_path) = 0; - - virtual void disable_patch(const std::string& patch_path) = 0; - virtual void disconnect_all(const std::string& parent_patch_path, const std::string& path) = 0; -- cgit v1.2.1