summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-06-04 00:47:48 +0000
committerDavid Robillard <d@drobilla.net>2009-06-04 00:47:48 +0000
commit5e6d421dac80359477a926456a56a7772bfc0945 (patch)
tree43b625d446c1fee4f1befb7847cc8091ac053c38 /src/common
parenta90bca852a42e2b89ccdb998ec38197f1afb8649 (diff)
downloadingen-5e6d421dac80359477a926456a56a7772bfc0945.tar.gz
ingen-5e6d421dac80359477a926456a56a7772bfc0945.tar.bz2
ingen-5e6d421dac80359477a926456a56a7772bfc0945.zip
Don't treat non-plugin metadata as plugin data.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2092 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/common')
-rw-r--r--src/common/interface/Plugin.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/common/interface/Plugin.hpp b/src/common/interface/Plugin.hpp
index 9b908fb8..12d8b4d0 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 { LV2, LADSPA, Internal, Patch };
+ enum Type { NIL, LV2, LADSPA, Internal, Patch };
virtual Type type() const = 0;
@@ -52,9 +52,7 @@ public:
return Internal;
else if (uri == "ingen:Patch")
return Patch;
- else
- std::cerr << "WARNING: Unknown plugin type " << uri << std::endl;
- return Internal;
+ return NIL;
}
};