diff options
author | David Robillard <d@drobilla.net> | 2011-02-18 15:37:36 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-02-18 15:37:36 +0000 |
commit | 05c2dfb6d677e5dc49c4de1ec568da4f69e3c877 (patch) | |
tree | 8d2ff26fa8eeec66777ae84c41a51c238137e402 /src/common | |
parent | d3264c5685c90856379df368f131188c2af6ab09 (diff) | |
download | ingen-05c2dfb6d677e5dc49c4de1ec568da4f69e3c877.tar.gz ingen-05c2dfb6d677e5dc49c4de1ec568da4f69e3c877.tar.bz2 ingen-05c2dfb6d677e5dc49c4de1ec568da4f69e3c877.zip |
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
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/interface/Plugin.hpp | 5 |
1 files changed, 1 insertions, 4 deletions
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)) |