summaryrefslogtreecommitdiffstats
path: root/ingen/Serialiser.hpp
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 /ingen/Serialiser.hpp
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 'ingen/Serialiser.hpp')
-rw-r--r--ingen/Serialiser.hpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/ingen/Serialiser.hpp b/ingen/Serialiser.hpp
index 00466350..50d4f693 100644
--- a/ingen/Serialiser.hpp
+++ b/ingen/Serialiser.hpp
@@ -30,6 +30,7 @@ namespace Ingen {
class Arc;
class Node;
+class URI;
class World;
/**
@@ -44,8 +45,8 @@ public:
virtual ~Serialiser();
/** Write a graph and all its contents as a complete bundle. */
- virtual void write_bundle(SPtr<const Node> graph,
- const std::string& uri);
+ virtual void write_bundle(SPtr<const Node> graph,
+ const URI& uri);
/** Begin a serialization to a string.
*
@@ -57,8 +58,8 @@ public:
* All serialized paths will have the root path chopped from their prefix
* (therefore all serialized paths must be descendants of the root)
*/
- virtual void start_to_string(const Raul::Path& root,
- const std::string& base_uri);
+ virtual void start_to_string(const Raul::Path& root,
+ const URI& base_uri);
/** Begin a serialization to a file.
*