summaryrefslogtreecommitdiffstats
path: root/src/libs/serialisation/Serialiser.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-11-30 07:38:42 +0000
committerDavid Robillard <d@drobilla.net>2007-11-30 07:38:42 +0000
commit58af61933fe938c404b8fcd916b3939257663cdd (patch)
treed8dc1d63966756cc652178359f2b00982109a29f /src/libs/serialisation/Serialiser.hpp
parent61e1e6e1442e97365db33b6071f8710a68987d64 (diff)
downloadingen-58af61933fe938c404b8fcd916b3939257663cdd.tar.gz
ingen-58af61933fe938c404b8fcd916b3939257663cdd.tar.bz2
ingen-58af61933fe938c404b8fcd916b3939257663cdd.zip
Split redland C++ wrappers out from Raul.
git-svn-id: http://svn.drobilla.net/lad/ingen@927 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/serialisation/Serialiser.hpp')
-rw-r--r--src/libs/serialisation/Serialiser.hpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/libs/serialisation/Serialiser.hpp b/src/libs/serialisation/Serialiser.hpp
index fc15cd1a..e14560b7 100644
--- a/src/libs/serialisation/Serialiser.hpp
+++ b/src/libs/serialisation/Serialiser.hpp
@@ -26,8 +26,8 @@
#include <raul/SharedPtr.hpp>
#include <raul/Path.hpp>
#include <raul/Atom.hpp>
-#include <raul/RDFWorld.hpp>
-#include <raul/RDFModel.hpp>
+#include <redlandmm/World.hpp>
+#include <redlandmm/Model.hpp>
#include "interface/GraphObject.hpp"
using namespace Raul;
@@ -54,7 +54,7 @@ namespace Serialisation {
class Serialiser
{
public:
- Serialiser(Raul::RDF::World& world);
+ Serialiser(Redland::World& world);
void to_file(SharedPtr<GraphObject> object, const string& filename);
@@ -77,22 +77,22 @@ private:
void serialise_plugin(SharedPtr<Shared::Plugin> p);
void serialise_patch(SharedPtr<Shared::Patch> p);
- void serialise_node(SharedPtr<Shared::Node> n, const Raul::RDF::Node& id);
- void serialise_port(const Shared::Port* p, const Raul::RDF::Node& id);
+ void serialise_node(SharedPtr<Shared::Node> n, const Redland::Node& id);
+ void serialise_port(const Shared::Port* p, const Redland::Node& id);
- void serialise_variables(RDF::Node subject, const GraphObject::Variables& variables);
+ void serialise_variables(Redland::Node subject, const GraphObject::Variables& variables);
- Raul::RDF::Node path_to_node_id(const Path& path);
- Raul::RDF::Node patch_path_to_rdf_id(const Path& path);
+ Redland::Node path_to_node_id(const Path& path);
+ Redland::Node patch_path_to_rdf_id(const Path& path);
- typedef std::map<Raul::Path, Raul::RDF::Node> NodeMap;
+ typedef std::map<Raul::Path, Redland::Node> NodeMap;
SharedPtr<GraphObject> _root_object;
Mode _mode;
NodeMap _node_map;
string _base_uri;
- Raul::RDF::World& _world;
- Raul::RDF::Model* _model;
+ Redland::World& _world;
+ Redland::Model* _model;
};