From 44f7ad5222d824d81dc743045d5887418847e74e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 21 Jan 2018 00:41:34 +0100 Subject: Add URI class and remove use of Raul::URI --- src/gui/App.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/gui/App.cpp') diff --git a/src/gui/App.cpp b/src/gui/App.cpp index 1473320b..a8128d8d 100644 --- a/src/gui/App.cpp +++ b/src/gui/App.cpp @@ -177,7 +177,7 @@ App::attach(SPtr client) if (_world->conf().option("dump").get()) { _dumper = SPtr(new StreamWriter(_world->uri_map(), _world->uris(), - Raul::URI("ingen:/client"), + URI("ingen:/client"), stderr, ColorContext::Color::CYAN)); @@ -207,7 +207,7 @@ void App::request_plugins_if_necessary() { if (!_requested_plugins) { - _world->interface()->get(Raul::URI("ingen:/plugins")); + _world->interface()->get(URI("ingen:/plugins")); _requested_plugins = true; } } @@ -251,10 +251,10 @@ App::error_message(const std::string& str) } void -App::set_property(const Raul::URI& subject, - const Raul::URI& key, - const Atom& value, - Resource::Graph ctx) +App::set_property(const URI& subject, + const URI& key, + const Atom& value, + Resource::Graph ctx) { // Send message to server interface()->set_property(subject, key, value, ctx); @@ -278,7 +278,7 @@ App::set_tooltip(Gtk::Widget* widget, const LilvNode* node) } void -App::put(const Raul::URI& uri, +App::put(const URI& uri, const Properties& properties, Resource::Graph ctx) { @@ -292,12 +292,12 @@ App::put(const Raul::URI& uri, } void -App::property_change(const Raul::URI& subject, - const Raul::URI& key, - const Atom& value, - Resource::Graph ctx) +App::property_change(const URI& subject, + const URI& key, + const Atom& value, + Resource::Graph ctx) { - if (subject != Raul::URI("ingen:/engine")) { + if (subject != URI("ingen:/engine")) { return; } else if (key == uris().param_sampleRate && value.type() == forge().Int) { _sample_rate = value.get(); -- cgit v1.2.1