summaryrefslogtreecommitdiffstats
path: root/src/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/Client.hpp11
-rwxr-xr-xsrc/bindings/test_ingen.py7
2 files changed, 4 insertions, 14 deletions
diff --git a/src/bindings/Client.hpp b/src/bindings/Client.hpp
index 1a18ea73..5e9ed094 100644
--- a/src/bindings/Client.hpp
+++ b/src/bindings/Client.hpp
@@ -42,15 +42,8 @@ public:
const std::string& type_uri,
const std::string& symbol) {}
- virtual void new_patch(const std::string& path, uint32_t poly) {}
-
- virtual void new_node(const std::string& path,
- const std::string& plugin_uri) {}
-
- virtual void new_port(const std::string& path,
- const std::string& type,
- uint32_t index,
- bool is_output) {}
+ void put(const Path& path,
+ const Resource::Properties& properties) {}
virtual void clear_patch(const std::string& path) {}
diff --git a/src/bindings/test_ingen.py b/src/bindings/test_ingen.py
index 9b925155..c858e7df 100755
--- a/src/bindings/test_ingen.py
+++ b/src/bindings/test_ingen.py
@@ -15,11 +15,8 @@ class PythonClient(ingen.Client):
def bundle_end(self):
print "*** }"
- def new_port(self, path, data_type, is_output):
- print "*** Received Port:", path, data_type, is_output
-
- def new_node(self, plugin_uri, path, polyphonic, nports):
- print "*** Received Node:", plugin_uri, path, polyphonic, nports
+ def put(self, path, properties):
+ print "*** Received Object:", path
c = PythonClient()
c.enable()