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/gui/NodeModule.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/gui/NodeModule.cpp')
-rw-r--r-- | src/gui/NodeModule.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp index 068642b1..54b30227 100644 --- a/src/gui/NodeModule.cpp +++ b/src/gui/NodeModule.cpp @@ -21,6 +21,7 @@ #include "lv2/lv2plug.in/ns/ext/atom/util.h" +#include "ingen/Atom.hpp" #include "ingen/Configuration.hpp" #include "ingen/Interface.hpp" #include "ingen/Log.hpp" @@ -28,7 +29,6 @@ #include "ingen/client/GraphModel.hpp" #include "ingen/client/PluginModel.hpp" #include "ingen/client/PluginUI.hpp" -#include "raul/Atom.hpp" #include "App.hpp" #include "GraphCanvas.hpp" @@ -148,7 +148,7 @@ NodeModule::show_human_names(bool b) Ingen::GUI::Port* const port = dynamic_cast<Ingen::GUI::Port*>(*i); Glib::ustring label(port->model()->symbol().c_str()); if (b) { - const Raul::Atom& name_property = port->model()->get_property(uris.lv2_name); + const Atom& name_property = port->model()->get_property(uris.lv2_name); if (name_property.type() == uris.forge.String) { label = name_property.ptr<char>(); } else { @@ -163,7 +163,7 @@ NodeModule::show_human_names(bool b) } void -NodeModule::port_activity(uint32_t index, const Raul::Atom& value) +NodeModule::port_activity(uint32_t index, const Atom& value) { const URIs& uris = app().uris(); if (!_plugin_ui) { @@ -383,8 +383,8 @@ NodeModule::store_location(double ax, double ay) { const URIs& uris = app().uris(); - const Raul::Atom x(app().forge().make(static_cast<float>(ax))); - const Raul::Atom y(app().forge().make(static_cast<float>(ay))); + const Atom x(app().forge().make(static_cast<float>(ax))); + const Atom y(app().forge().make(static_cast<float>(ay))); if (x != _block->get_property(uris.ingen_canvasX) || y != _block->get_property(uris.ingen_canvasY)) @@ -402,7 +402,7 @@ NodeModule::store_location(double ax, double ay) } void -NodeModule::property_changed(const Raul::URI& key, const Raul::Atom& value) +NodeModule::property_changed(const Raul::URI& key, const Atom& value) { const URIs& uris = app().uris(); if (value.type() == uris.forge.Float) { |