diff options
author | David Robillard <d@drobilla.net> | 2010-02-13 22:07:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-02-13 22:07:26 +0000 |
commit | ad07c414d557629251b2f4ea4078c22f241cc865 (patch) | |
tree | dafecc5dd8758e0273105bb2a2a8d481509d19fb /src/client/SigClientInterface.hpp | |
parent | b8cf49d04a2600f83767ddda46929d4d47adc3fd (diff) | |
download | ingen-ad07c414d557629251b2f4ea4078c22f241cc865.tar.gz ingen-ad07c414d557629251b2f4ea4078c22f241cc865.tar.bz2 ingen-ad07c414d557629251b2f4ea4078c22f241cc865.zip |
Learn and remove bindings exclusively through property interface.
Note this commit breaks some aspects of OSC and HTTP control for now.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2442 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/SigClientInterface.hpp')
-rw-r--r-- | src/client/SigClientInterface.hpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/client/SigClientInterface.hpp b/src/client/SigClientInterface.hpp index bc2ee3f9..3334c5c7 100644 --- a/src/client/SigClientInterface.hpp +++ b/src/client/SigClientInterface.hpp @@ -51,6 +51,8 @@ public: sigc::signal<void, Raul::Path, uint32_t> signal_new_patch; sigc::signal<void, Raul::Path, Raul::URI, uint32_t, bool> signal_new_port; sigc::signal<void, Raul::URI, Shared::Resource::Properties> signal_put; + sigc::signal<void, Raul::URI, Shared::Resource::Properties, + Shared::Resource::Properties> signal_delta; sigc::signal<void, Raul::Path, Raul::Path> signal_object_moved; sigc::signal<void, Raul::Path> signal_object_deleted; sigc::signal<void, Raul::Path, Raul::Path> signal_connection; @@ -88,8 +90,12 @@ protected: void error(const std::string& msg) { EMIT(error, msg); } - void put(const Raul::URI& path, const Shared::Resource::Properties& properties) - { EMIT(put, path, properties); } + void put(const Raul::URI& uri, const Shared::Resource::Properties& properties) + { EMIT(put, uri, properties); } + + void delta(const Raul::URI& uri, + const Shared::Resource::Properties& remove, const Shared::Resource::Properties& add) + { EMIT(delta, uri, remove, add); } void connect(const Raul::Path& src_port_path, const Raul::Path& dst_port_path) { EMIT(connection, src_port_path, dst_port_path); } |