diff options
author | David Robillard <d@drobilla.net> | 2011-10-21 20:41:08 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-10-21 20:41:08 +0000 |
commit | 4ce6781bd6727fca68d4c99337f47a75d849e5ab (patch) | |
tree | 8b7fe459778b0a0e7452e3b593c8c77cdcf3d191 /src/server/events/CreatePatch.cpp | |
parent | 6e416be77892b960bb429cab11cd4effce0033e1 (diff) | |
download | ingen-4ce6781bd6727fca68d4c99337f47a75d849e5ab.tar.gz ingen-4ce6781bd6727fca68d4c99337f47a75d849e5ab.tar.bz2 ingen-4ce6781bd6727fca68d4c99337f47a75d849e5ab.zip |
Merge QueuedEvent into Event.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3569 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/events/CreatePatch.cpp')
-rw-r--r-- | src/server/events/CreatePatch.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/server/events/CreatePatch.cpp b/src/server/events/CreatePatch.cpp index d62a2203..2abe5d22 100644 --- a/src/server/events/CreatePatch.cpp +++ b/src/server/events/CreatePatch.cpp @@ -42,7 +42,7 @@ CreatePatch::CreatePatch( const Raul::Path& path, int poly, const Resource::Properties& properties) - : QueuedEvent(engine, request, timestamp) + : Event(engine, request, timestamp) , _path(path) , _patch(NULL) , _parent(NULL) @@ -57,13 +57,13 @@ CreatePatch::pre_process() { if (_path.is_root() || _engine.engine_store()->find_object(_path) != NULL) { _error = OBJECT_EXISTS; - QueuedEvent::pre_process(); + Event::pre_process(); return; } if (_poly < 1) { _error = INVALID_POLY; - QueuedEvent::pre_process(); + Event::pre_process(); return; } @@ -72,7 +72,7 @@ CreatePatch::pre_process() _parent = _engine.engine_store()->find_patch(path.parent()); if (_parent == NULL) { _error = PARENT_NOT_FOUND; - QueuedEvent::pre_process(); + Event::pre_process(); return; } @@ -102,13 +102,13 @@ CreatePatch::pre_process() //_patch->add_to_store(_engine.engine_store()); _engine.engine_store()->add(_patch); - QueuedEvent::pre_process(); + Event::pre_process(); } void CreatePatch::execute(ProcessContext& context) { - QueuedEvent::execute(context); + Event::execute(context); if (_patch) { if (!_parent) { |