diff options
Diffstat (limited to 'ingen/LV2Features.hpp')
-rw-r--r-- | ingen/LV2Features.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ingen/LV2Features.hpp b/ingen/LV2Features.hpp index 2efd62f8..61180636 100644 --- a/ingen/LV2Features.hpp +++ b/ingen/LV2Features.hpp @@ -47,6 +47,19 @@ public: Node* block) = 0; }; + class EmptyFeature : public Feature { + public: + EmptyFeature(const char* uri) : _uri(uri) {} + + virtual const char* uri() const { return _uri; } + + virtual SPtr<LV2_Feature> feature(World* world, Node* block) { + return SPtr<LV2_Feature>(); + } + + const char* _uri; + }; + class FeatureArray : public Raul::Noncopyable { public: typedef std::vector< SPtr<LV2_Feature> > FeatureVector; |