diff options
Diffstat (limited to 'src/client/ThreadedSigClientInterface.hpp')
-rw-r--r-- | src/client/ThreadedSigClientInterface.hpp | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/client/ThreadedSigClientInterface.hpp b/src/client/ThreadedSigClientInterface.hpp index 5f5ea5a9..06a8da73 100644 --- a/src/client/ThreadedSigClientInterface.hpp +++ b/src/client/ThreadedSigClientInterface.hpp @@ -83,11 +83,14 @@ public: void error(const std::string& msg) { push_sig(sigc::bind(error_slot, msg)); } - void put(const Raul::URI& path, const Shared::Resource::Properties& properties) - { push_sig(sigc::bind(put_slot, path, properties)); } - - void delta(const Raul::URI& path, - const Shared::Resource::Properties& remove, const Shared::Resource::Properties& add) + void put(const Raul::URI& path, + const Shared::Resource::Properties& properties, + Shared::Resource::Graph ctx=Shared::Resource::DEFAULT) + { push_sig(sigc::bind(put_slot, path, properties, ctx)); } + + void delta(const Raul::URI& path, + const Shared::Resource::Properties& remove, + const Shared::Resource::Properties& add) { push_sig(sigc::bind(delta_slot, path, remove, add)); } void connect(const Raul::Path& src_port_path, const Raul::Path& dst_port_path) @@ -126,7 +129,8 @@ private: sigc::slot<void, std::string> error_slot; sigc::slot<void, Raul::URI, Raul::URI, Raul::Symbol> new_plugin_slot; sigc::slot<void, Raul::Path, Raul::URI, uint32_t, bool> new_port_slot; - sigc::slot<void, Raul::URI, Shared::Resource::Properties> put_slot; + sigc::slot<void, Raul::URI, Shared::Resource::Properties, + Shared::Resource::Graph> put_slot; sigc::slot<void, Raul::URI, Shared::Resource::Properties, Shared::Resource::Properties> delta_slot; sigc::slot<void, Raul::Path, Raul::Path> connection_slot; |