From 0f9c8151d5b42b243a499bb31a1e1f0b2e8c5f6f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 8 Feb 2015 07:02:59 +0000 Subject: Server-side copy paste with LV2 state support. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5541 a436a847-0d15-0410-975c-d299462d15a1 --- ingen/client/ThreadedSigClientInterface.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ingen/client/ThreadedSigClientInterface.hpp') diff --git a/ingen/client/ThreadedSigClientInterface.hpp b/ingen/client/ThreadedSigClientInterface.hpp index ab9a7ee9..0d5d5e57 100644 --- a/ingen/client/ThreadedSigClientInterface.hpp +++ b/ingen/client/ThreadedSigClientInterface.hpp @@ -59,6 +59,7 @@ public: , connection_slot(_signal_connection.make_slot()) , object_deleted_slot(_signal_object_deleted.make_slot()) , object_moved_slot(_signal_object_moved.make_slot()) + , object_copied_slot(_signal_object_copied.make_slot()) , disconnection_slot(_signal_disconnection.make_slot()) , disconnect_all_slot(_signal_disconnect_all.make_slot()) , property_change_slot(_signal_property_change.make_slot()) @@ -97,6 +98,9 @@ public: void move(const Raul::Path& old_path, const Raul::Path& new_path) { push_sig(sigc::bind(object_moved_slot, old_path, new_path)); } + void copy(const Raul::Path& old_path, const Raul::URI& new_uri) + { push_sig(sigc::bind(object_copied_slot, old_path, new_uri)); } + void disconnect(const Raul::Path& tail, const Raul::Path& head) { push_sig(sigc::bind(disconnection_slot, tail, head)); } @@ -157,6 +161,7 @@ private: sigc::slot connection_slot; sigc::slot object_deleted_slot; sigc::slot object_moved_slot; + sigc::slot object_copied_slot; sigc::slot disconnection_slot; sigc::slot disconnect_all_slot; sigc::slot property_change_slot; -- cgit v1.2.1