diff options
author | David Robillard <d@drobilla.net> | 2015-11-08 04:41:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-11-08 04:41:01 +0000 |
commit | 980b93d2539d9d35bc769db6605fa9628b46f37f (patch) | |
tree | cc258f37fe5b2ad9314515a142cada03664968aa /src | |
parent | 36219bce05febf199e7ed6433d428c7821010620 (diff) | |
download | ingen-980b93d2539d9d35bc769db6605fa9628b46f37f.tar.gz ingen-980b93d2539d9d35bc769db6605fa9628b46f37f.tar.bz2 ingen-980b93d2539d9d35bc769db6605fa9628b46f37f.zip |
Add support for instance-access and data-access
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5815 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/World.cpp | 4 | ||||
-rw-r--r-- | src/server/LV2Block.hpp | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/World.cpp b/src/World.cpp index 9d4410eb..21a7043e 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -22,7 +22,9 @@ #include <glibmm/module.h> #include "ingen/Configuration.hpp" +#include "ingen/DataAccess.hpp" #include "ingen/EngineBase.hpp" +#include "ingen/InstanceAccess.hpp" #include "ingen/LV2Features.hpp" #include "ingen/Log.hpp" #include "ingen/Module.hpp" @@ -125,6 +127,8 @@ public: lv2_features = new LV2Features(); lv2_features->add_feature(uri_map->urid_map_feature()); lv2_features->add_feature(uri_map->urid_unmap_feature()); + lv2_features->add_feature(SPtr<InstanceAccess>(new InstanceAccess())); + lv2_features->add_feature(SPtr<DataAccess>(new DataAccess())); lilv_world_load_all(lilv_world); // Set up RDF namespaces diff --git a/src/server/LV2Block.hpp b/src/server/LV2Block.hpp index ffb86d0a..e5d41006 100644 --- a/src/server/LV2Block.hpp +++ b/src/server/LV2Block.hpp @@ -48,6 +48,8 @@ public: bool instantiate(BufferFactory& bufs); + LilvInstance* instance() { return instance(0); } + BlockImpl* duplicate(Engine& engine, const Raul::Symbol& symbol, GraphImpl* parent); |