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/client/ObjectModel.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/client/ObjectModel.cpp') diff --git a/src/client/ObjectModel.cpp b/src/client/ObjectModel.cpp index 452a6a3b..271d0b66 100644 --- a/src/client/ObjectModel.cpp +++ b/src/client/ObjectModel.cpp @@ -19,9 +19,6 @@ #include "ingen/shared/URIs.hpp" #include "raul/TableImpl.hpp" -using namespace std; -using namespace Raul; - namespace Ingen { namespace Client { @@ -29,7 +26,7 @@ ObjectModel::ObjectModel(Shared::URIs& uris, const Raul::Path& path) : ResourceImpl(uris, path) , _meta(uris, Raul::URI("http://example.org/FIXME")) , _path(path) - , _symbol((path == Path::root()) ? "root" : path.symbol()) + , _symbol((path == Raul::Path::root()) ? "root" : path.symbol()) { } @@ -58,10 +55,10 @@ ObjectModel::on_property(const Raul::URI& uri, const Raul::Atom& value) _signal_property.emit(uri, value); } -const Atom& +const Raul::Atom& ObjectModel::get_property(const Raul::URI& key) const { - static const Atom null_atom; + static const Raul::Atom null_atom; Resource::Properties::const_iterator i = properties().find(key); return (i != properties().end()) ? i->second : null_atom; } -- cgit v1.2.1