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/client/ClientStore.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/ClientStore.cpp') diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp index 57004d7d..b0b6bdbf 100644 --- a/src/client/ClientStore.cpp +++ b/src/client/ClientStore.cpp @@ -285,7 +285,7 @@ ClientStore::put(const URI& uri, const Resource::Properties& properties) } bool is_patch, is_node, is_port, is_output; - DataType data_type(DataType::UNKNOWN); + PortType data_type(PortType::UNKNOWN); ResourceImpl::type(properties, is_patch, is_node, is_port, is_output, data_type); if (is_patch) { @@ -313,7 +313,7 @@ ClientStore::put(const URI& uri, const Resource::Properties& properties) cerr << "ERROR: Plugin with no type" << endl; } } else if (is_port) { - if (data_type != DataType::UNKNOWN) { + if (data_type != PortType::UNKNOWN) { PortModel::Direction pdir = is_output ? PortModel::OUTPUT : PortModel::INPUT; SharedPtr p(new PortModel(path, 0, data_type, pdir)); p->set_properties(properties); -- cgit v1.2.1