diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/NodeModel.cpp | 2 | ||||
-rw-r--r-- | src/client/PluginModel.cpp | 5 | ||||
-rw-r--r-- | src/client/PluginUI.cpp | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/src/client/NodeModel.cpp b/src/client/NodeModel.cpp index fc7873f0..d1d1108d 100644 --- a/src/client/NodeModel.cpp +++ b/src/client/NodeModel.cpp @@ -221,7 +221,7 @@ NodeModel::port_value_range(SharedPtr<const PortModel> port, std::string NodeModel::port_label(SharedPtr<const PortModel> port) const { - const Raul::Atom& name = port->get_property("http://lv2plug.in/ns/lv2core#name"); + const Raul::Atom& name = port->get_property(LV2_CORE__name); if (name.is_valid()) { return name.get_string(); } diff --git a/src/client/PluginModel.cpp b/src/client/PluginModel.cpp index 35c6649a..4381d979 100644 --- a/src/client/PluginModel.cpp +++ b/src/client/PluginModel.cpp @@ -94,8 +94,7 @@ PluginModel::get_property(const URI& key) const else symbol = uri.str().substr(first_delim + 1, last_delim - first_delim - 1); } - set_property("http://lv2plug.in/ns/lv2core#symbol", - _uris.forge.alloc(symbol)); + set_property(LV2_CORE__symbol, _uris.forge.alloc(symbol)); return get_property(key); } @@ -152,7 +151,7 @@ PluginModel::set(SharedPtr<PluginModel> p) Symbol PluginModel::default_node_symbol() const { - const Atom& name_atom = get_property("http://lv2plug.in/ns/lv2core#symbol"); + const Atom& name_atom = get_property(LV2_CORE__symbol); if (name_atom.is_valid() && name_atom.type() == _uris.forge.String) return Symbol::symbolify(name_atom.get_string()); else diff --git a/src/client/PluginUI.cpp b/src/client/PluginUI.cpp index ac54b2f5..a58bdabe 100644 --- a/src/client/PluginUI.cpp +++ b/src/client/PluginUI.cpp @@ -100,7 +100,7 @@ PluginUI::create(Ingen::Shared::World* world, PluginUI::ui_host = suil_host_new(lv2_ui_write, NULL, NULL, NULL); } - static const char* gtk_ui_uri = "http://lv2plug.in/ns/extensions/ui#GtkUI"; + static const char* gtk_ui_uri = LV2_UI__GtkUI; LilvNode* gtk_ui = lilv_new_uri(world->lilv_world(), gtk_ui_uri); |