diff options
author | David Robillard <d@drobilla.net> | 2012-08-19 02:57:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-19 02:57:26 +0000 |
commit | ba1f169967f64b9657074fba2de803b29829345c (patch) | |
tree | b46baed3c4d96f2129cb58686b09b2b86d86d05e /src/AtomWriter.cpp | |
parent | 800c329a0b77f9044923885abe0728028eca8350 (diff) | |
download | ingen-ba1f169967f64b9657074fba2de803b29829345c.tar.gz ingen-ba1f169967f64b9657074fba2de803b29829345c.tar.bz2 ingen-ba1f169967f64b9657074fba2de803b29829345c.zip |
GraphObject => Node
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4722 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/AtomWriter.cpp')
-rw-r--r-- | src/AtomWriter.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/AtomWriter.cpp b/src/AtomWriter.cpp index 34ea62d0..f102c8a8 100644 --- a/src/AtomWriter.cpp +++ b/src/AtomWriter.cpp @@ -18,7 +18,7 @@ #include "ingen/AtomSink.hpp" #include "ingen/AtomWriter.hpp" -#include "ingen/GraphObject.hpp" +#include "ingen/Node.hpp" #include "ingen/URIMap.hpp" #include "raul/Path.hpp" #include "serd/serd.h" @@ -113,9 +113,9 @@ AtomWriter::forge_edge(const Raul::Path& tail, const Raul::Path& head) LV2_Atom_Forge_Frame edge; lv2_atom_forge_blank(&_forge, &edge, 0, _uris.ingen_Edge); lv2_atom_forge_property_head(&_forge, _uris.ingen_tail, 0); - forge_uri(GraphObject::path_to_uri(tail)); + forge_uri(Node::path_to_uri(tail)); lv2_atom_forge_property_head(&_forge, _uris.ingen_head, 0); - forge_uri(GraphObject::path_to_uri(head)); + forge_uri(Node::path_to_uri(head)); lv2_atom_forge_pop(&_forge, &edge); } @@ -172,9 +172,9 @@ AtomWriter::move(const Raul::Path& old_path, LV2_Atom_Forge_Frame msg; lv2_atom_forge_blank(&_forge, &msg, next_id(), _uris.patch_Move); lv2_atom_forge_property_head(&_forge, _uris.patch_subject, 0); - forge_uri(GraphObject::path_to_uri(old_path)); + forge_uri(Node::path_to_uri(old_path)); lv2_atom_forge_property_head(&_forge, _uris.patch_destination, 0); - forge_uri(GraphObject::path_to_uri(new_path)); + forge_uri(Node::path_to_uri(new_path)); } void @@ -193,7 +193,7 @@ AtomWriter::connect(const Raul::Path& tail, LV2_Atom_Forge_Frame msg; lv2_atom_forge_blank(&_forge, &msg, next_id(), _uris.patch_Put); lv2_atom_forge_property_head(&_forge, _uris.patch_subject, 0); - forge_uri(GraphObject::path_to_uri(Raul::Path::lca(tail, head))); + forge_uri(Node::path_to_uri(Raul::Path::lca(tail, head))); lv2_atom_forge_property_head(&_forge, _uris.patch_body, 0); forge_edge(tail, head); lv2_atom_forge_pop(&_forge, &msg); @@ -220,13 +220,13 @@ AtomWriter::disconnect_all(const Raul::Path& graph, lv2_atom_forge_blank(&_forge, &msg, next_id(), _uris.patch_Delete); lv2_atom_forge_property_head(&_forge, _uris.patch_subject, 0); - forge_uri(GraphObject::path_to_uri(graph)); + forge_uri(Node::path_to_uri(graph)); lv2_atom_forge_property_head(&_forge, _uris.patch_body, 0); LV2_Atom_Forge_Frame edge; lv2_atom_forge_blank(&_forge, &edge, 0, _uris.ingen_Edge); lv2_atom_forge_property_head(&_forge, _uris.ingen_incidentTo, 0); - forge_uri(GraphObject::path_to_uri(path)); + forge_uri(Node::path_to_uri(path)); lv2_atom_forge_pop(&_forge, &edge); lv2_atom_forge_pop(&_forge, &msg); |