From 05c2dfb6d677e5dc49c4de1ec568da4f69e3c877 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 18 Feb 2011 15:37:36 +0000 Subject: Trim more cruft. Correctly receive data about plugins with hashes in their URIs. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2988 a436a847-0d15-0410-975c-d299462d15a1 --- src/common/interface/Plugin.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/common') diff --git a/src/common/interface/Plugin.hpp b/src/common/interface/Plugin.hpp index 5acaa8e6..0dfd85d3 100644 --- a/src/common/interface/Plugin.hpp +++ b/src/common/interface/Plugin.hpp @@ -29,7 +29,7 @@ namespace Shared { class Plugin : virtual public Resource { public: - enum Type { NIL, LV2, LADSPA, Internal, Patch }; + enum Type { NIL, LV2, Internal, Patch }; virtual Type type() const = 0; @@ -37,7 +37,6 @@ public: static const Raul::URI uris[] = { "http://drobilla.net/ns/ingen#nil", "http://lv2plug.in/ns/lv2core#Plugin", - "http://drobilla.net/ns/ingen#LADSPAPlugin", "http://drobilla.net/ns/ingen#Internal", "http://drobilla.net/ns/ingen#Patch" }; @@ -50,8 +49,6 @@ public: static inline Type type_from_uri(const Raul::URI& uri) { if (uri == type_uri(LV2)) return LV2; - else if (uri == type_uri(LADSPA)) - return LADSPA; else if (uri == type_uri(Internal)) return Internal; else if (uri == type_uri(Patch)) -- cgit v1.2.1