From c11ecf0fd10641218326ae384e80413ba3cdf46c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 27 May 2009 17:42:51 +0000 Subject: Remove 'new_patch', 'new_node', and 'new_port' from interface in favour of generic 'put'. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2011 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/QueuedEngineInterface.hpp | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) (limited to 'src/engine/QueuedEngineInterface.hpp') diff --git a/src/engine/QueuedEngineInterface.hpp b/src/engine/QueuedEngineInterface.hpp index 1263c225..f12a1b23 100644 --- a/src/engine/QueuedEngineInterface.hpp +++ b/src/engine/QueuedEngineInterface.hpp @@ -22,12 +22,13 @@ #include #include #include "raul/SharedPtr.hpp" -#include "types.hpp" -#include "tuning.hpp" -#include "interface/EngineInterface.hpp" #include "interface/ClientInterface.hpp" -#include "Responder.hpp" +#include "interface/EngineInterface.hpp" +#include "interface/Resource.hpp" #include "QueuedEventSource.hpp" +#include "Responder.hpp" +#include "tuning.hpp" +#include "types.hpp" namespace Ingen { @@ -70,18 +71,8 @@ public: // CommonInterface object commands - virtual bool new_object(const Shared::GraphObject* object); - - virtual void new_patch(const Raul::Path& path, - uint32_t poly); - - virtual void new_node(const Raul::Path& path, - const Raul::URI& plugin_uri); - - virtual void new_port(const Raul::Path& path, - const Raul::URI& type, - uint32_t index, - bool is_output); + virtual void put(const Raul::Path& path, + const Shared::Resource::Properties& properties); virtual void rename(const Raul::Path& old_path, const Raul::Path& new_path); -- cgit v1.2.1