summaryrefslogtreecommitdiffstats
path: root/src/ingen/main.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-10 06:24:07 +0000
committerDavid Robillard <d@drobilla.net>2012-05-10 06:24:07 +0000
commit0c9e861caa8b1eed5068942edc35d5f91bac816e (patch)
treeb241856ddf49e1b1192f8ea442d1733d9d31b2f2 /src/ingen/main.cpp
parent8ec295a0f2a40086ed83e8d2ad8ad38c8125bcb4 (diff)
downloadingen-0c9e861caa8b1eed5068942edc35d5f91bac816e.tar.gz
ingen-0c9e861caa8b1eed5068942edc35d5f91bac816e.tar.bz2
ingen-0c9e861caa8b1eed5068942edc35d5f91bac816e.zip
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
Diffstat (limited to 'src/ingen/main.cpp')
-rw-r--r--src/ingen/main.cpp11
1 files changed, 5 insertions, 6 deletions
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<Path> parent;
- boost::optional<Symbol> symbol;
+ boost::optional<Raul::Path> parent;
+ boost::optional<Raul::Symbol> 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