summaryrefslogtreecommitdiffstats
path: root/src/AtomWriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/AtomWriter.cpp')
-rw-r--r--src/AtomWriter.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/AtomWriter.cpp b/src/AtomWriter.cpp
index f102c8a8..05e5d64d 100644
--- a/src/AtomWriter.cpp
+++ b/src/AtomWriter.cpp
@@ -108,15 +108,15 @@ AtomWriter::forge_properties(const Resource::Properties& properties)
}
void
-AtomWriter::forge_edge(const Raul::Path& tail, const Raul::Path& head)
+AtomWriter::forge_arc(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_Frame arc;
+ lv2_atom_forge_blank(&_forge, &arc, 0, _uris.ingen_Arc);
lv2_atom_forge_property_head(&_forge, _uris.ingen_tail, 0);
forge_uri(Node::path_to_uri(tail));
lv2_atom_forge_property_head(&_forge, _uris.ingen_head, 0);
forge_uri(Node::path_to_uri(head));
- lv2_atom_forge_pop(&_forge, &edge);
+ lv2_atom_forge_pop(&_forge, &arc);
}
void
@@ -195,7 +195,7 @@ AtomWriter::connect(const Raul::Path& tail,
lv2_atom_forge_property_head(&_forge, _uris.patch_subject, 0);
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);
+ forge_arc(tail, head);
lv2_atom_forge_pop(&_forge, &msg);
finish_msg();
}
@@ -207,7 +207,7 @@ AtomWriter::disconnect(const Raul::Path& tail,
LV2_Atom_Forge_Frame msg;
lv2_atom_forge_blank(&_forge, &msg, next_id(), _uris.patch_Delete);
lv2_atom_forge_property_head(&_forge, _uris.patch_body, 0);
- forge_edge(tail, head);
+ forge_arc(tail, head);
lv2_atom_forge_pop(&_forge, &msg);
finish_msg();
}
@@ -223,11 +223,11 @@ AtomWriter::disconnect_all(const Raul::Path& 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_Frame arc;
+ lv2_atom_forge_blank(&_forge, &arc, 0, _uris.ingen_Arc);
lv2_atom_forge_property_head(&_forge, _uris.ingen_incidentTo, 0);
forge_uri(Node::path_to_uri(path));
- lv2_atom_forge_pop(&_forge, &edge);
+ lv2_atom_forge_pop(&_forge, &arc);
lv2_atom_forge_pop(&_forge, &msg);
finish_msg();