diff options
author | David Robillard <d@drobilla.net> | 2011-02-16 18:26:57 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-02-16 18:26:57 +0000 |
commit | 2c1079446f0b06559a683a9f4b0192a4f7637770 (patch) | |
tree | 0bb095529e4654cdf4633512fdaaa599ed3370f0 /src/engine/HTTPClientSender.cpp | |
parent | 0cb698a6d4652c54d49f599f1611e7c4a15d3778 (diff) | |
download | ingen-2c1079446f0b06559a683a9f4b0192a4f7637770.tar.gz ingen-2c1079446f0b06559a683a9f4b0192a4f7637770.tar.bz2 ingen-2c1079446f0b06559a683a9f4b0192a4f7637770.zip |
Drop redlandmm for sordmm.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2959 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/HTTPClientSender.cpp')
-rw-r--r-- | src/engine/HTTPClientSender.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/HTTPClientSender.cpp b/src/engine/HTTPClientSender.cpp index 79f64cc1..7068911c 100644 --- a/src/engine/HTTPClientSender.cpp +++ b/src/engine/HTTPClientSender.cpp @@ -59,14 +59,14 @@ HTTPClientSender::put(const URI& uri, const string path = (uri.substr(0, 6) == "path:/") ? uri.substr(6) : uri.str(); const string full_uri = _url + "/" + path; - Redland::Model model(*_engine.world()->rdf_world()); + Sord::Model model(*_engine.world()->rdf_world()); for (Resource::Properties::const_iterator i = properties.begin(); i != properties.end(); ++i) model.add_statement( - Redland::Resource(*_engine.world()->rdf_world(), path), + Sord::Resource(*_engine.world()->rdf_world(), path), AtomRDF::atom_to_node(model, i->first.str()), AtomRDF::atom_to_node(model, i->second)); - const string str = model.serialise_to_string("turtle"); + const string str = model.write_to_string("turtle"); send_chunk(str); } @@ -111,7 +111,7 @@ void HTTPClientSender::set_property(const URI& subject, const URI& key, const Atom& value) { #if 0 - Redland::Node node = AtomRDF::atom_to_node(*_engine.world()->rdf_world(), value); + Sord::Node node = AtomRDF::atom_to_node(*_engine.world()->rdf_world(), value); const string msg = string( "@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .\n" "@prefix ingen: <http://drobilla.net/ns/ingen#> .\n" |