summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-17 03:10:58 +0000
committerDavid Robillard <d@drobilla.net>2008-08-17 03:10:58 +0000
commitd6823fa9b29bcff74ca180e6d389d8a21cf88d1f (patch)
treeb79dcfd907f83f035d657964d26b578c85ef0de2 /src/common
parent694b31089c8060fc6b908b146b12c0e340d004c7 (diff)
downloadingen-d6823fa9b29bcff74ca180e6d389d8a21cf88d1f.tar.gz
ingen-d6823fa9b29bcff74ca180e6d389d8a21cf88d1f.tar.bz2
ingen-d6823fa9b29bcff74ca180e6d389d8a21cf88d1f.zip
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
Diffstat (limited to 'src/common')
-rw-r--r--src/common/interface/ClientInterface.hpp9
-rw-r--r--src/common/interface/CommonInterface.hpp9
-rw-r--r--src/common/interface/EngineInterface.hpp8
3 files changed, 9 insertions, 17 deletions
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;