From 0c9e861caa8b1eed5068942edc35d5f91bac816e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 10 May 2012 06:24:07 +0000 Subject: Work towards translatable strings and a cleaner log interface. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4338 a436a847-0d15-0410-975c-d299462d15a1 --- src/ingen/main.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/ingen/main.cpp') diff --git a/src/ingen/main.cpp b/src/ingen/main.cpp index 2878ebc7..2798d7eb 100644 --- a/src/ingen/main.cpp +++ b/src/ingen/main.cpp @@ -50,7 +50,6 @@ #endif using namespace std; -using namespace Raul; using namespace Ingen; Ingen::Shared::World* world = NULL; @@ -168,13 +167,13 @@ main(int argc, char** argv) // Load a patch if (conf.option("load").is_valid() || !conf.files().empty()) { - boost::optional parent; - boost::optional symbol; + boost::optional parent; + boost::optional symbol; const Raul::Configuration::Value& path_option = conf.option("path"); if (path_option.is_valid()) { - if (Path::is_valid(path_option.get_string())) { - const Path p(path_option.get_string()); + if (Raul::Path::is_valid(path_option.get_string())) { + const Raul::Path p(path_option.get_string()); if (!p.is_root()) { parent = p.parent(); symbol = p.symbol(); @@ -221,7 +220,7 @@ main(int argc, char** argv) while (world->local_engine()->main_iteration()) { Glib::usleep(125000); // 1/8 second } - info << "Finished main loop" << endl; + Raul::info("Finished main loop\n"); } // Shut down -- cgit v1.2.1