diff options
author | David Robillard <d@drobilla.net> | 2011-04-18 12:47:15 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-18 12:47:15 +0000 |
commit | 8ba6bb943889bfdd58cf4a971a152041c1199cfe (patch) | |
tree | 91fbe8577e6d01070aa81f532ddd8102db1476f5 /src/engine/events/CreatePort.cpp | |
parent | 3cd3bfe5079f84fafb7dc217f5393d6ba947109c (diff) | |
download | ingen-8ba6bb943889bfdd58cf4a971a152041c1199cfe.tar.gz ingen-8ba6bb943889bfdd58cf4a971a152041c1199cfe.tar.bz2 ingen-8ba6bb943889bfdd58cf4a971a152041c1199cfe.zip |
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
Diffstat (limited to 'src/engine/events/CreatePort.cpp')
-rw-r--r-- | src/engine/events/CreatePort.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/engine/events/CreatePort.cpp b/src/engine/events/CreatePort.cpp index 278fe1b9..de5b2219 100644 --- a/src/engine/events/CreatePort.cpp +++ b/src/engine/events/CreatePort.cpp @@ -38,10 +38,9 @@ using namespace std; using namespace Raul; namespace Ingen { +namespace Engine { namespace Events { -using namespace Shared; - CreatePort::CreatePort( Engine& engine, SharedPtr<Request> request, @@ -82,7 +81,7 @@ CreatePort::pre_process() _patch = _engine.engine_store()->find_patch(_path.parent()); - const LV2URIMap& uris = *_engine.world()->uris().get(); + const Ingen::Shared::LV2URIMap& uris = *_engine.world()->uris().get(); if (_patch != NULL) { assert(_patch->path() == _path.parent()); @@ -93,7 +92,7 @@ CreatePort::pre_process() ? _patch->external_ports()->size() : 0; - Shared::Resource::Properties::const_iterator index_i = _properties.find(uris.lv2_index); + Resource::Properties::const_iterator index_i = _properties.find(uris.lv2_index); if (index_i == _properties.end()) { index_i = _properties.insert(make_pair(uris.lv2_index, (int)old_num_ports)); } else if (index_i->second.type() != Atom::INT @@ -103,7 +102,7 @@ CreatePort::pre_process() return; } - Shared::Resource::Properties::const_iterator poly_i = _properties.find(uris.ingen_polyphonic); + Resource::Properties::const_iterator poly_i = _properties.find(uris.ingen_polyphonic); bool polyphonic = (poly_i != _properties.end() && poly_i->second.type() == Atom::BOOL && poly_i->second.get_bool()); @@ -187,6 +186,7 @@ CreatePort::post_process() } } +} // namespace Engine } // namespace Ingen } // namespace Events |