summaryrefslogtreecommitdiffstats
path: root/ingen/client/SigClientInterface.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-03-26 22:32:53 +0200
committerDavid Robillard <d@drobilla.net>2017-03-26 22:49:48 +0200
commitda33ac899a390ac13abbc6fba36d1b5c1d65d267 (patch)
tree887af451a7e9fe7d2d1aac076246b8d410747e9c /ingen/client/SigClientInterface.hpp
parent09a0252c938fbdc3a0329520e78586432528eda9 (diff)
downloadingen-da33ac899a390ac13abbc6fba36d1b5c1d65d267.tar.gz
ingen-da33ac899a390ac13abbc6fba36d1b5c1d65d267.tar.bz2
ingen-da33ac899a390ac13abbc6fba36d1b5c1d65d267.zip
Add properties parameter to delete interfacenodeless
Diffstat (limited to 'ingen/client/SigClientInterface.hpp')
-rw-r--r--ingen/client/SigClientInterface.hpp7
1 files changed, 4 insertions, 3 deletions
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); }