diff options
author | David Robillard <d@drobilla.net> | 2013-02-23 19:55:13 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-02-23 19:55:13 +0000 |
commit | 6b6cb56b2ceab509569bfca247f108f2be5e25c0 (patch) | |
tree | 5a46eee0c3f518fa7bb20e6a8784e5bd3ba04598 /src/client/BlockModel.cpp | |
parent | 5a6aafff8dda9dddce479a2ad86edb933c9688c3 (diff) | |
download | ingen-6b6cb56b2ceab509569bfca247f108f2be5e25c0.tar.gz ingen-6b6cb56b2ceab509569bfca247f108f2be5e25c0.tar.bz2 ingen-6b6cb56b2ceab509569bfca247f108f2be5e25c0.zip |
Move Atom implementation out of Raul so it can depend on LV2.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5076 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/BlockModel.cpp')
-rw-r--r-- | src/client/BlockModel.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/BlockModel.cpp b/src/client/BlockModel.cpp index a8e74847..2c389f90 100644 --- a/src/client/BlockModel.cpp +++ b/src/client/BlockModel.cpp @@ -200,8 +200,8 @@ BlockModel::port_value_range(SPtr<const PortModel> port, default_port_value_range(port, min, max); // Possibly overriden - const Raul::Atom& min_atom = port->get_property(_uris.lv2_minimum); - const Raul::Atom& max_atom = port->get_property(_uris.lv2_maximum); + const Atom& min_atom = port->get_property(_uris.lv2_minimum); + const Atom& max_atom = port->get_property(_uris.lv2_maximum); if (min_atom.type() == _uris.forge.Float) min = min_atom.get<float>(); if (max_atom.type() == _uris.forge.Float) @@ -219,7 +219,7 @@ BlockModel::port_value_range(SPtr<const PortModel> port, std::string BlockModel::label() const { - const Raul::Atom& name_property = get_property(_uris.lv2_name); + const Atom& name_property = get_property(_uris.lv2_name); if (name_property.type() == _uris.forge.String) { return name_property.ptr<char>(); } else if (plugin_model()) { @@ -232,7 +232,7 @@ BlockModel::label() const std::string BlockModel::port_label(SPtr<const PortModel> port) const { - const Raul::Atom& name = port->get_property(Raul::URI(LV2_CORE__name)); + const Atom& name = port->get_property(Raul::URI(LV2_CORE__name)); if (name.is_valid()) { return name.ptr<char>(); } |