From ec8939dd7ef5267b43bd8ae3590e783495f0cfc9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 18 Jan 2014 06:25:36 +0000 Subject: Consolidate URIs. Add missing definition to ontology. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5317 a436a847-0d15-0410-975c-d299462d15a1 --- src/client/ClientStore.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/client') diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp index 56c74cd8..02f5f4f0 100644 --- a/src/client/ClientStore.cpp +++ b/src/client/ClientStore.cpp @@ -270,10 +270,11 @@ ClientStore::put(const Raul::URI& uri, if (p->second.is_valid() && p->second.type() == _uris.forge.URI) { if (!(plug = _plugin(Raul::URI(p->second.ptr())))) { plug = SPtr( - new PluginModel(uris(), - Raul::URI(p->second.ptr()), - _uris.ingen_nil, - Resource::Properties())); + new PluginModel( + uris(), + Raul::URI(p->second.ptr()), + Raul::URI("http://www.w3.org/2002/07/owl#Nothing"), + Resource::Properties())); add_plugin(plug); } @@ -350,7 +351,7 @@ ClientStore::set_property(const Raul::URI& subject_uri, const Raul::URI& predicate, const Atom& value) { - if (subject_uri == _uris.ingen_engine) { + if (subject_uri == Raul::URI("ingen:/engine")) { _log.info(fmt("Engine property <%1%> = %2%\n") % predicate.c_str() % _uris.forge.str(value)); return; -- cgit v1.2.1