From 8ba6bb943889bfdd58cf4a971a152041c1199cfe Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 18 Apr 2011 12:47:15 +0000 Subject: Put engine code in new Ingen::Engine namespace. Put core interfaces in Ingen namespace (not Ingen::Shared). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3159 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/events/SetPortValue.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/engine/events/SetPortValue.cpp') diff --git a/src/engine/events/SetPortValue.cpp b/src/engine/events/SetPortValue.cpp index 50cf2bec..f68a6cab 100644 --- a/src/engine/events/SetPortValue.cpp +++ b/src/engine/events/SetPortValue.cpp @@ -42,10 +42,9 @@ using namespace std; using namespace Raul; namespace Ingen { +namespace Engine { namespace Events { -using namespace Shared; - SetPortValue::SetPortValue(Engine& engine, SharedPtr request, bool queued, @@ -146,7 +145,7 @@ SetPortValue::apply(Context& context) return; } - LV2URIMap& uris = *_engine.world()->uris().get(); + Ingen::Shared::LV2URIMap& uris = *_engine.world()->uris().get(); EventBuffer* const ebuf = dynamic_cast(buf); if (ebuf && _value.type() == Atom::BLOB) { @@ -174,7 +173,7 @@ SetPortValue::apply(Context& context) ObjectBuffer* const obuf = dynamic_cast(buf); if (obuf) { obuf->atom()->size = obuf->size() - sizeof(LV2_Atom); - if (LV2Atom::from_atom(uris, _value, obuf->atom())) { + if (Ingen::Shared::LV2Atom::from_atom(uris, _value, obuf->atom())) { debug << "Converted atom " << _value << " :: " << obuf->atom()->type << " * " << obuf->atom()->size << " @ " << obuf->atom() << endl; return; @@ -218,6 +217,7 @@ SetPortValue::post_process() } } +} // namespace Engine } // namespace Ingen } // namespace Events -- cgit v1.2.1