diff options
author | David Robillard <d@drobilla.net> | 2009-05-28 21:36:11 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-28 21:36:11 +0000 |
commit | ce2e40f296f9360291ebbfd0fabc4b6c06b715c4 (patch) | |
tree | 68f52ffc20b0c0b857a1a870dac09c198709024d /src/engine/events | |
parent | 6300f2e3624e6fd6c4d6869b24a35740f920f37b (diff) | |
download | ingen-ce2e40f296f9360291ebbfd0fabc4b6c06b715c4.tar.gz ingen-ce2e40f296f9360291ebbfd0fabc4b6c06b715c4.tar.bz2 ingen-ce2e40f296f9360291ebbfd0fabc4b6c06b715c4.zip |
Rename RequestObjectEvent GetEvent.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2036 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/events')
-rw-r--r-- | src/engine/events/GetEvent.cpp (renamed from src/engine/events/RequestObjectEvent.cpp) | 10 | ||||
-rw-r--r-- | src/engine/events/GetEvent.hpp (renamed from src/engine/events/RequestObjectEvent.hpp) | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/engine/events/RequestObjectEvent.cpp b/src/engine/events/GetEvent.cpp index a74f15d3..6479c94f 100644 --- a/src/engine/events/RequestObjectEvent.cpp +++ b/src/engine/events/GetEvent.cpp @@ -15,7 +15,7 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include "RequestObjectEvent.hpp" +#include "GetEvent.hpp" #include "interface/ClientInterface.hpp" #include "Responder.hpp" #include "Engine.hpp" @@ -32,7 +32,7 @@ using namespace Raul; namespace Ingen { -RequestObjectEvent::RequestObjectEvent( +GetEvent::GetEvent( Engine& engine, SharedPtr<Responder> responder, SampleCount timestamp, @@ -46,7 +46,7 @@ RequestObjectEvent::RequestObjectEvent( void -RequestObjectEvent::pre_process() +GetEvent::pre_process() { if (Path::is_valid(_uri.str())) _object = _engine.engine_store()->find_object(Path(_uri.str())); @@ -58,7 +58,7 @@ RequestObjectEvent::pre_process() void -RequestObjectEvent::execute(ProcessContext& context) +GetEvent::execute(ProcessContext& context) { QueuedEvent::execute(context); assert(_time >= context.start() && _time <= context.end()); @@ -66,7 +66,7 @@ RequestObjectEvent::execute(ProcessContext& context) void -RequestObjectEvent::post_process() +GetEvent::post_process() { if (!_object && !_plugin) { _responder->respond_error("Unable to find object requested."); diff --git a/src/engine/events/RequestObjectEvent.hpp b/src/engine/events/GetEvent.hpp index cd759224..d2413043 100644 --- a/src/engine/events/RequestObjectEvent.hpp +++ b/src/engine/events/GetEvent.hpp @@ -31,10 +31,10 @@ class PluginImpl; * * \ingroup engine */ -class RequestObjectEvent : public QueuedEvent +class GetEvent : public QueuedEvent { public: - RequestObjectEvent( + GetEvent( Engine& engine, SharedPtr<Responder> responder, SampleCount timestamp, |