diff options
Diffstat (limited to 'src/serialisation')
-rw-r--r-- | src/serialisation/Parser.cpp | 2 | ||||
-rw-r--r-- | src/serialisation/Serialiser.cpp | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/serialisation/Parser.cpp b/src/serialisation/Parser.cpp index c2e8be4d..838a0200 100644 --- a/src/serialisation/Parser.cpp +++ b/src/serialisation/Parser.cpp @@ -90,7 +90,7 @@ skip_property(const Sord::Node& predicate) { return (predicate.to_string() == "http://drobilla.net/ns/ingen#node" || predicate.to_string() == "http://drobilla.net/ns/ingen#edge" - || predicate.to_string() == "http://lv2plug.in/ns/lv2core#port"); + || predicate.to_string() == LV2_CORE__port); } static Resource::Properties diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp index f0062860..c26be7be 100644 --- a/src/serialisation/Serialiser.cpp +++ b/src/serialisation/Serialiser.cpp @@ -40,6 +40,8 @@ #include "ingen/shared/Store.hpp" #include "ingen/shared/URIs.hpp" #include "ingen/shared/World.hpp" +#include "lv2/lv2plug.in/ns/ext/state/state.h" +#include "lv2/lv2plug.in/ns/extensions/ui/ui.h" #include "raul/Atom.hpp" #include "raul/Path.hpp" #include "raul/log.hpp" @@ -342,10 +344,10 @@ Serialiser::Impl::serialise_patch(SharedPtr<const Patch> patch, _model->add_statement(patch_id, Sord::Curie(world, "lv2:extensionData"), - Sord::URI(world, "http://lv2plug.in/ns/ext/state#Interface")); + Sord::URI(world, LV2_STATE__interface)); _model->add_statement(patch_id, - Sord::URI(world, "http://lv2plug.in/ns/extensions/ui#ui"), + Sord::URI(world, LV2_UI__ui), Sord::URI(world, "http://drobilla.net/ns/ingen#ui")); const URIs& uris = *_world.uris().get(); |