From 26d7e8e9399ef49a37463188cd2f841537c9bb4d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 21 Dec 2012 22:41:43 +0000 Subject: Gracefully ignore plugins which require unsupported features or have unknown port types. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4882 a436a847-0d15-0410-975c-d299462d15a1 --- ingen/LV2Features.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ingen/LV2Features.hpp') diff --git a/ingen/LV2Features.hpp b/ingen/LV2Features.hpp index 80339c84..214d62bb 100644 --- a/ingen/LV2Features.hpp +++ b/ingen/LV2Features.hpp @@ -40,6 +40,8 @@ public: public: virtual ~Feature() {} + virtual const char* uri() const = 0; + virtual SharedPtr feature(World* world, Node* block) = 0; }; @@ -60,6 +62,7 @@ public: }; void add_feature(SharedPtr feature); + bool is_supported(const std::string& uri) const; SharedPtr lv2_features(World* world, Node* block) const; -- cgit v1.2.1