From 6ec390d53a3dbea90e7308c9e40e03266f5d5127 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 18 Nov 2009 00:38:45 +0000 Subject: Rename DataType to PortType (since that's what it really means). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2273 a436a847-0d15-0410-975c-d299462d15a1 --- src/serialisation/Serialiser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/serialisation') diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp index d3583124..24aca9cb 100644 --- a/src/serialisation/Serialiser.cpp +++ b/src/serialisation/Serialiser.cpp @@ -418,7 +418,7 @@ Serialiser::serialise_port(const Port* port, const Redland::Node& port_id) _model->add_statement(port_id, "rdf:instanceOf", class_rdf_node(port->path())); - if (port->is_input() && port->type() == DataType::CONTROL) + if (port->is_input() && port->type() == PortType::CONTROL) _model->add_statement(port_id, "ingen:value", AtomRDF::atom_to_node(_model->world(), Atom(port->value()))); @@ -448,7 +448,7 @@ Serialiser::serialise_port_meta(const Port* port, const Redland::Node& port_id) if (port->value().is_valid()) { _model->add_statement(port_id, "lv2:default", AtomRDF::atom_to_node(_model->world(), Atom(port->value()))); - } else if (port->type() == DataType::CONTROL) { + } else if (port->type() == PortType::CONTROL) { cerr << "WARNING: Port " << port->path() << " has no lv2:default" << endl; } } -- cgit v1.2.1