summaryrefslogtreecommitdiffstats
path: root/src/shared/LV2Features.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-08 05:20:34 +0000
committerDavid Robillard <d@drobilla.net>2011-01-08 05:20:34 +0000
commit79fceb7b387cf45deab770a12f116493a24e5350 (patch)
tree7c12f6103b4772622cf10d18039b08655d0986b3 /src/shared/LV2Features.hpp
parente1f6dcf7dca9363f901cd96fc389e03f4cf75e12 (diff)
downloadingen-79fceb7b387cf45deab770a12f116493a24e5350.tar.gz
ingen-79fceb7b387cf45deab770a12f116493a24e5350.tar.bz2
ingen-79fceb7b387cf45deab770a12f116493a24e5350.zip
Support "request run" feature from contexts extension.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2791 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/shared/LV2Features.hpp')
-rw-r--r--src/shared/LV2Features.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/shared/LV2Features.hpp b/src/shared/LV2Features.hpp
index 20b17628..386e4ea8 100644
--- a/src/shared/LV2Features.hpp
+++ b/src/shared/LV2Features.hpp
@@ -26,9 +26,11 @@
#include "ingen-config.h"
namespace Ingen {
+
namespace Shared {
class Node;
+class World;
/** Stuff that may need to be passed to an LV2 plugin (i.e. LV2 features).
*/
@@ -39,7 +41,7 @@ public:
class Feature {
public:
virtual ~Feature() {}
- virtual SharedPtr<LV2_Feature> feature(Node* node) = 0;
+ virtual SharedPtr<LV2_Feature> feature(Shared::World* world, Node* node) = 0;
};
class FeatureArray {
@@ -70,7 +72,7 @@ public:
void add_feature(const std::string& uri, SharedPtr<Feature> feature);
- SharedPtr<LV2Features::FeatureArray> lv2_features(Node* node) const;
+ SharedPtr<LV2Features::FeatureArray> lv2_features(Shared::World* world, Node* node) const;
private:
typedef std::map< std::string, SharedPtr<Feature> > Features;