diff options
author | David Robillard <d@drobilla.net> | 2008-11-29 00:07:30 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-11-29 00:07:30 +0000 |
commit | 0674d8cf8a96210eb692176864d92dc2806f6457 (patch) | |
tree | 0a27a29333e363e2a4e724897069a5aba6665a92 /src/engine/events | |
parent | 6b04f4fd3a84457eed53132ac42b6b8f44b289d6 (diff) | |
download | ingen-0674d8cf8a96210eb692176864d92dc2806f6457.tar.gz ingen-0674d8cf8a96210eb692176864d92dc2806f6457.tar.bz2 ingen-0674d8cf8a96210eb692176864d92dc2806f6457.zip |
Clean up and organize internals.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1819 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/events')
-rw-r--r-- | src/engine/events/MidiLearnEvent.cpp | 2 | ||||
-rw-r--r-- | src/engine/events/MidiLearnEvent.hpp | 2 | ||||
-rw-r--r-- | src/engine/events/NoteEvent.cpp | 12 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/engine/events/MidiLearnEvent.cpp b/src/engine/events/MidiLearnEvent.cpp index 8c2439a2..5bcbe1d2 100644 --- a/src/engine/events/MidiLearnEvent.cpp +++ b/src/engine/events/MidiLearnEvent.cpp @@ -20,7 +20,7 @@ #include "Engine.hpp" #include "EngineStore.hpp" #include "NodeImpl.hpp" -#include "MidiControlNode.hpp" +#include "InternalController.hpp" #include "ClientBroadcaster.hpp" #include "PluginImpl.hpp" diff --git a/src/engine/events/MidiLearnEvent.hpp b/src/engine/events/MidiLearnEvent.hpp index fca96307..667ff06c 100644 --- a/src/engine/events/MidiLearnEvent.hpp +++ b/src/engine/events/MidiLearnEvent.hpp @@ -19,7 +19,7 @@ #define MIDILEARNEVENT_H #include "QueuedEvent.hpp" -#include "MidiControlNode.hpp" +#include "InternalController.hpp" #include "types.hpp" #include <string> diff --git a/src/engine/events/NoteEvent.cpp b/src/engine/events/NoteEvent.cpp index bc44ae1f..a53f5218 100644 --- a/src/engine/events/NoteEvent.cpp +++ b/src/engine/events/NoteEvent.cpp @@ -20,8 +20,8 @@ #include "Engine.hpp" #include "EngineStore.hpp" #include "NodeImpl.hpp" -#include "MidiNoteNode.hpp" -#include "MidiTriggerNode.hpp" +#include "InternalNote.hpp" +#include "InternalTrigger.hpp" #include "PluginImpl.hpp" #include "InternalPlugin.hpp" #include "ProcessContext.hpp" @@ -73,14 +73,14 @@ NoteEvent::execute(ProcessContext& context) if (_node != NULL && _node->plugin()->type() == Plugin::Internal) { if (_on) { if (_node->plugin_impl()->uri() == NS_INTERNALS "Note") - ((MidiNoteNode*)_node)->note_on(context, _note_num, _velocity, _time); + ((NoteNode*)_node)->note_on(context, _note_num, _velocity, _time); else if (_node->plugin_impl()->uri() == NS_INTERNALS "Trigger") - ((MidiTriggerNode*)_node)->note_on(context, _note_num, _velocity, _time); + ((TriggerNode*)_node)->note_on(context, _note_num, _velocity, _time); } else { if (_node->plugin_impl()->uri() == NS_INTERNALS "Note") - ((MidiNoteNode*)_node)->note_off(context, _note_num, _time); + ((NoteNode*)_node)->note_off(context, _note_num, _time); else if (_node->plugin_impl()->uri() == NS_INTERNALS "Trigger") - ((MidiTriggerNode*)_node)->note_off(context, _note_num, _time); + ((TriggerNode*)_node)->note_off(context, _note_num, _time); } } } |