From 9088edb2534a616b757197662d77abcb0291470b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 30 Jul 2012 23:22:44 +0000 Subject: Merge Resource and ResourceImpl, eliminating more virtual inheritance. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4577 a436a847-0d15-0410-975c-d299462d15a1 --- ingen/Plugin.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ingen/Plugin.hpp') diff --git a/ingen/Plugin.hpp b/ingen/Plugin.hpp index 41de5a2a..30c70963 100644 --- a/ingen/Plugin.hpp +++ b/ingen/Plugin.hpp @@ -28,9 +28,13 @@ namespace Ingen { /** A plugin which instantiates to a Node. * @ingroup Ingen */ -class Plugin : virtual public Resource +class Plugin : public Resource { public: + Plugin(Shared::URIs& uris, const Raul::URI& uri) + : Resource(uris, uri) + {} + enum Type { NIL, LV2, Internal, Patch }; virtual Type type() const = 0; -- cgit v1.2.1