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/Move.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/Move.cpp')
-rw-r--r-- | src/engine/events/Move.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/events/Move.cpp b/src/engine/events/Move.cpp index cb830f27..bccb3856 100644 --- a/src/engine/events/Move.cpp +++ b/src/engine/events/Move.cpp @@ -29,10 +29,9 @@ using namespace std; using namespace Raul; namespace Ingen { +namespace Engine { namespace Events { -using namespace Shared; - Move::Move(Engine& engine, SharedPtr<Request> request, SampleCount timestamp, const Path& path, const Path& new_path) : QueuedEvent(engine, request, timestamp) , _old_path(path) @@ -67,12 +66,12 @@ Move::pre_process() return; } - SharedPtr< Table<Path, SharedPtr<Shared::GraphObject> > > removed + SharedPtr< Table<Path, SharedPtr<GraphObject> > > removed = _engine.engine_store()->remove(_store_iterator); assert(removed->size() > 0); - for (Table<Path, SharedPtr<Shared::GraphObject> >::iterator i = removed->begin(); i != removed->end(); ++i) { + for (Table<Path, SharedPtr<GraphObject> >::iterator i = removed->begin(); i != removed->end(); ++i) { const Path& child_old_path = i->first; assert(Path::descendant_comparator(_old_path, child_old_path)); @@ -126,5 +125,6 @@ Move::post_process() } } +} // namespace Engine } // namespace Ingen } // namespace Events |