diff options
author | David Robillard <d@drobilla.net> | 2011-02-16 20:05:45 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-02-16 20:05:45 +0000 |
commit | 2a7eff2d6ecdeed30d0a797ec36926fd1a5eb4fc (patch) | |
tree | 8330a2b095b246ae8989c1aac637c3d2aa522804 /src | |
parent | 42d8a867c5523b0b45e8236a9629e5485d7d2e2a (diff) | |
download | machina-2a7eff2d6ecdeed30d0a797ec36926fd1a5eb4fc.tar.gz machina-2a7eff2d6ecdeed30d0a797ec36926fd1a5eb4fc.tar.bz2 machina-2a7eff2d6ecdeed30d0a797ec36926fd1a5eb4fc.zip |
Sord::Resource => Sord::URI.
Tidy up serialisation code.
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@2964 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/engine/Loader.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/engine/Loader.cpp b/src/engine/Loader.cpp index 2fe161c..5902b58 100644 --- a/src/engine/Loader.cpp +++ b/src/engine/Loader.cpp @@ -79,17 +79,17 @@ Loader::load(const Glib::ustring& uri) Sord::Node nil; - Sord::Resource rdf_type(_rdf_world, NS_RDF "type"); - Sord::Resource machina_SelectorNode(_rdf_world, NS_MACHINA "initialNode"); - Sord::Resource machina_node(_rdf_world, NS_MACHINA "node"); - Sord::Resource machina_initialNode(_rdf_world, NS_MACHINA "initialNode"); - Sord::Resource machina_duration(_rdf_world, NS_MACHINA "duration"); - Sord::Resource machina_edge(_rdf_world, NS_MACHINA "edge"); - Sord::Resource machina_tail(_rdf_world, NS_MACHINA "tail"); - Sord::Resource machina_head(_rdf_world, NS_MACHINA "head"); - Sord::Resource machina_probability(_rdf_world, NS_MACHINA "probability"); - - Sord::Node machine_node = Sord::Resource(_rdf_world, "."); + Sord::URI rdf_type(_rdf_world, NS_RDF "type"); + Sord::URI machina_SelectorNode(_rdf_world, NS_MACHINA "initialNode"); + Sord::URI machina_node(_rdf_world, NS_MACHINA "node"); + Sord::URI machina_initialNode(_rdf_world, NS_MACHINA "initialNode"); + Sord::URI machina_duration(_rdf_world, NS_MACHINA "duration"); + Sord::URI machina_edge(_rdf_world, NS_MACHINA "edge"); + Sord::URI machina_tail(_rdf_world, NS_MACHINA "tail"); + Sord::URI machina_head(_rdf_world, NS_MACHINA "head"); + Sord::URI machina_probability(_rdf_world, NS_MACHINA "probability"); + + Sord::Node machine_node = Sord::URI(_rdf_world, "."); /* Get initial nodes */ for (Sord::Iter i = model.find(machine_node, machina_initialNode, nil); |