From da33ac899a390ac13abbc6fba36d1b5c1d65d267 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 26 Mar 2017 22:32:53 +0200 Subject: Add properties parameter to delete interface --- ingen/client/SigClientInterface.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ingen/client/SigClientInterface.hpp') diff --git a/ingen/client/SigClientInterface.hpp b/ingen/client/SigClientInterface.hpp index 7e903fab..4ee3624c 100644 --- a/ingen/client/SigClientInterface.hpp +++ b/ingen/client/SigClientInterface.hpp @@ -56,7 +56,7 @@ public: INGEN_SIGNAL(delta, void, Raul::URI, Properties, Properties, Resource::Graph) INGEN_SIGNAL(object_copied, void, Raul::URI, Raul::URI) INGEN_SIGNAL(object_moved, void, Raul::Path, Raul::Path) - INGEN_SIGNAL(object_deleted, void, Raul::URI) + INGEN_SIGNAL(object_deleted, void, Raul::URI, Properties) INGEN_SIGNAL(connection, void, Raul::Path, Raul::Path) INGEN_SIGNAL(disconnection, void, Raul::Path, Raul::Path) INGEN_SIGNAL(disconnect_all, void, Raul::Path, Raul::Path) @@ -97,8 +97,9 @@ protected: void connect(const Raul::Path& tail, const Raul::Path& head) { EMIT(connection, tail, head); } - void del(const Raul::URI& uri) - { EMIT(object_deleted, uri); } + void del(const Raul::URI& uri, + const Properties& properties = Properties()) + { EMIT(object_deleted, uri, properties); } void copy(const Raul::URI& old_uri, const Raul::URI& new_uri) { EMIT(object_copied, old_uri, new_uri); } -- cgit v1.2.1