diff options
author | David Robillard <d@drobilla.net> | 2011-01-08 05:20:34 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-01-08 05:20:34 +0000 |
commit | 79fceb7b387cf45deab770a12f116493a24e5350 (patch) | |
tree | 7c12f6103b4772622cf10d18039b08655d0986b3 /src/engine/LV2Info.cpp | |
parent | e1f6dcf7dca9363f901cd96fc389e03f4cf75e12 (diff) | |
download | ingen-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/engine/LV2Info.cpp')
-rw-r--r-- | src/engine/LV2Info.cpp | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/engine/LV2Info.cpp b/src/engine/LV2Info.cpp index f736dffb..e67c207d 100644 --- a/src/engine/LV2Info.cpp +++ b/src/engine/LV2Info.cpp @@ -16,14 +16,21 @@ */ #define __STDC_LIMIT_MACROS 1 -#include <cassert> + #include <stdint.h> + +#include <cassert> + #include "lv2/lv2plug.in/ns/ext/atom/atom.h" -#include "LV2Info.hpp" +#include "lv2/lv2plug.in/ns/ext/contexts/contexts.h" + #include "module/World.hpp" -#include "LV2Features.hpp" -#include "LV2EventFeature.hpp" + #include "LV2BlobFeature.hpp" +#include "LV2EventFeature.hpp" +#include "LV2Features.hpp" +#include "LV2Info.hpp" +#include "LV2RequestRunFeature.hpp" #include "LV2ResizeFeature.hpp" using namespace std; @@ -50,6 +57,8 @@ LV2Info::LV2Info(Ingen::Shared::World* world) SharedPtr<Shared::LV2Features::Feature>(new BlobFeature())); world->lv2_features()->add_feature(LV2_RESIZE_PORT_URI, SharedPtr<Shared::LV2Features::Feature>(new ResizeFeature())); + world->lv2_features()->add_feature(LV2_CONTEXTS_URI "#RequestRunFeature", + SharedPtr<Shared::LV2Features::Feature>(new RequestRunFeature())); } LV2Info::~LV2Info() |