summaryrefslogtreecommitdiffstats
path: root/src/TurtleWriter.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-01-21 00:41:34 +0100
committerDavid Robillard <d@drobilla.net>2018-01-21 00:56:50 +0100
commit44f7ad5222d824d81dc743045d5887418847e74e (patch)
tree1b41535ac00b8b225a25dba2873b064cb074bfa9 /src/TurtleWriter.cpp
parent90fca083052880479ad90d870e556f0648e32106 (diff)
downloadingen-44f7ad5222d824d81dc743045d5887418847e74e.tar.gz
ingen-44f7ad5222d824d81dc743045d5887418847e74e.tar.bz2
ingen-44f7ad5222d824d81dc743045d5887418847e74e.zip
Add URI class and remove use of Raul::URI
Diffstat (limited to 'src/TurtleWriter.cpp')
-rw-r--r--src/TurtleWriter.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/TurtleWriter.cpp b/src/TurtleWriter.cpp
index 630906e7..368184d4 100644
--- a/src/TurtleWriter.cpp
+++ b/src/TurtleWriter.cpp
@@ -35,14 +35,12 @@ write_prefix(void* handle, const SerdNode* name, const SerdNode* uri)
return SERD_SUCCESS;
}
-TurtleWriter::TurtleWriter(URIMap& map,
- URIs& uris,
- const Raul::URI& uri)
- : AtomWriter(map, uris, *this)
- , _map(map)
- , _sratom(sratom_new(&map.urid_map_feature()->urid_map))
- , _uri(uri)
- , _wrote_prefixes(false)
+TurtleWriter::TurtleWriter(URIMap& map, URIs& uris, const URI& uri)
+ : AtomWriter(map, uris, *this)
+ , _map(map)
+ , _sratom(sratom_new(&map.urid_map_feature()->urid_map))
+ , _uri(uri)
+ , _wrote_prefixes(false)
{
// Use <ingen:/> as base URI, so relative URIs are like bundle paths
_base = serd_node_from_string(SERD_URI, (const uint8_t*)"ingen:/");