diff options
author | David Robillard <d@drobilla.net> | 2012-05-02 06:24:22 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-02 06:24:22 +0000 |
commit | fe353cce9665b33a7372ed2d1683b3c2748625f7 (patch) | |
tree | 81287558b014309820e9df64033edc0b29d23b4f /src/serialisation | |
parent | 1c736a348c59d98e4022fb02b49a8b4c93baa3d2 (diff) | |
download | ingen-fe353cce9665b33a7372ed2d1683b3c2748625f7.tar.gz ingen-fe353cce9665b33a7372ed2d1683b3c2748625f7.tar.bz2 ingen-fe353cce9665b33a7372ed2d1683b3c2748625f7.zip |
Preliminary socket control interface, and ingen_cmd command line interface which uses it.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4311 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/serialisation')
-rw-r--r-- | src/serialisation/Parser.cpp | 6 | ||||
-rw-r--r-- | src/serialisation/Serialiser.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/serialisation/Parser.cpp b/src/serialisation/Parser.cpp index 838a0200..24b96b8d 100644 --- a/src/serialisation/Parser.cpp +++ b/src/serialisation/Parser.cpp @@ -224,11 +224,11 @@ parse_node(Ingen::Shared::World* world, { const URIs& uris = *world->uris().get(); - Sord::URI rdf_instanceOf(*world->rdf_world(), NS_RDF "instanceOf"); + Sord::URI ingen_prototype(*world->rdf_world(), NS_INGEN "prototype"); - Sord::Iter i = model.find(subject, rdf_instanceOf, nil); + Sord::Iter i = model.find(subject, ingen_prototype, nil); if (i.end() || i.get_object().type() != Sord::Node::URI) { - LOG(error) << "Node missing mandatory rdf:instanceOf" << endl; + LOG(error) << "Node missing mandatory ingen:prototype" << endl; return boost::optional<Path>(); } diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp index e6379e22..f16ed1d7 100644 --- a/src/serialisation/Serialiser.cpp +++ b/src/serialisation/Serialiser.cpp @@ -455,7 +455,7 @@ Serialiser::Impl::serialise_node(SharedPtr<const Node> node, Sord::Curie(_model->world(), "rdf:type"), Sord::Curie(_model->world(), "ingen:Node")); _model->add_statement(node_id, - Sord::Curie(_model->world(), "rdf:instanceOf"), + Sord::Curie(_model->world(), "ingen:prototype"), class_id); _model->add_statement(node_id, Sord::Curie(_model->world(), "lv2:symbol"), |