diff options
author | David Robillard <d@drobilla.net> | 2016-08-01 15:44:14 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-08-17 17:25:42 -0400 |
commit | 17ad0ca1ad23b336b0fa5952f42dfad95397fc47 (patch) | |
tree | 1cac18de3f2b56ac7885fa7f9566ded8eab8872e /src/ingen | |
parent | d6621e5d1e6f705a09106f62cc75cb33c8c18670 (diff) | |
download | ingen-17ad0ca1ad23b336b0fa5952f42dfad95397fc47.tar.gz ingen-17ad0ca1ad23b336b0fa5952f42dfad95397fc47.tar.bz2 ingen-17ad0ca1ad23b336b0fa5952f42dfad95397fc47.zip |
Rename main graph and control/notify ports
Diffstat (limited to 'src/ingen')
-rw-r--r-- | src/ingen/ingen.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ingen/ingen.cpp b/src/ingen/ingen.cpp index b5605197..a6ba7f41 100644 --- a/src/ingen/ingen.cpp +++ b/src/ingen/ingen.cpp @@ -176,7 +176,7 @@ main(int argc, char** argv) const string graph = conf.option("load").ptr<char>(); engine_interface->get(Raul::URI("ingen:/plugins")); - engine_interface->get(Node::root_graph_uri()); + engine_interface->get(Node::main_uri()); std::lock_guard<std::mutex> lock(world->rdf_mutex()); world->parser()->parse_file( @@ -185,14 +185,14 @@ main(int argc, char** argv) const char* path = conf.option("server-load").ptr<char>(); if (serd_uri_string_has_scheme((const uint8_t*)path)) { std::cout << "Loading " << path << " (server side)" << std::endl; - engine_interface->copy(Raul::URI(path), Node::root_graph_uri()); + engine_interface->copy(Raul::URI(path), Node::main_uri()); } else { SerdNode uri = serd_node_new_file_uri( (const uint8_t*)path, NULL, NULL, true); std::cout << "Loading " << (const char*)uri.buf << " (server side)" << std::endl; engine_interface->copy(Raul::URI((const char*)uri.buf), - Node::root_graph_uri()); + Node::main_uri()); serd_node_free(&uri); } } @@ -202,12 +202,12 @@ main(int argc, char** argv) const char* path = conf.option("save").ptr<char>(); if (serd_uri_string_has_scheme((const uint8_t*)path)) { std::cout << "Saving to " << path << std::endl; - engine_interface->copy(Node::root_graph_uri(), Raul::URI(path)); + engine_interface->copy(Node::main_uri(), Raul::URI(path)); } else { SerdNode uri = serd_node_new_file_uri( (const uint8_t*)path, NULL, NULL, true); std::cout << "Saving to " << (const char*)uri.buf << std::endl; - engine_interface->copy(Node::root_graph_uri(), + engine_interface->copy(Node::main_uri(), Raul::URI((const char*)uri.buf)); serd_node_free(&uri); } |