summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/World.cpp4
-rw-r--r--src/server/LV2Block.hpp2
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);