diff options
Diffstat (limited to 'src/shared/World.cpp')
-rw-r--r-- | src/shared/World.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/shared/World.cpp b/src/shared/World.cpp index 59207939..cf21cd44 100644 --- a/src/shared/World.cpp +++ b/src/shared/World.cpp @@ -23,6 +23,7 @@ #include "lilv/lilv.h" #include "raul/log.hpp" +#include "raul/Atom.hpp" #include "sord/sordmm.hpp" #include "ingen/EngineBase.hpp" @@ -102,8 +103,9 @@ public: , argv(a_argv) , conf(conf) , lv2_features(NULL) + , forge(new Raul::Forge()) , rdf_world(new Sord::World()) - , uris(new Shared::URIs()) + , uris(new Shared::URIs(*forge)) , lv2_uri_map(new Ingen::Shared::LV2URIMap(*uris.get())) , lilv_world(lilv_world_new()) { @@ -144,6 +146,8 @@ public: delete lv2_features; lv2_features = NULL; + delete forge; + uris.reset(); } @@ -161,6 +165,7 @@ public: char**& argv; Raul::Configuration* conf; LV2Features* lv2_features; + Raul::Forge* forge; Sord::World* rdf_world; SharedPtr<URIs> uris; SharedPtr<LV2URIMap> lv2_uri_map; @@ -199,6 +204,7 @@ SharedPtr<Serialisation::Serialiser> World::serialiser() { return _impl->seria SharedPtr<Serialisation::Parser> World::parser() { return _impl->parser; } SharedPtr<Store> World::store() { return _impl->store; } Raul::Configuration* World::conf() { return _impl->conf; } +Raul::Forge& World::forge() { return *_impl->forge; } LV2Features* World::lv2_features() { return _impl->lv2_features; } LilvWorld* World::lilv_world() { return _impl->lilv_world; } |