summaryrefslogtreecommitdiffstats
path: root/src/gui/App.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-01-21 00:41:34 +0100
committerDavid Robillard <d@drobilla.net>2018-01-21 00:56:50 +0100
commit44f7ad5222d824d81dc743045d5887418847e74e (patch)
tree1b41535ac00b8b225a25dba2873b064cb074bfa9 /src/gui/App.cpp
parent90fca083052880479ad90d870e556f0648e32106 (diff)
downloadingen-44f7ad5222d824d81dc743045d5887418847e74e.tar.gz
ingen-44f7ad5222d824d81dc743045d5887418847e74e.tar.bz2
ingen-44f7ad5222d824d81dc743045d5887418847e74e.zip
Add URI class and remove use of Raul::URI
Diffstat (limited to 'src/gui/App.cpp')
-rw-r--r--src/gui/App.cpp24
1 files changed, 12 insertions, 12 deletions
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<SigClientInterface> client)
if (_world->conf().option("dump").get<int32_t>()) {
_dumper = SPtr<StreamWriter>(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<int32_t>();