From 69f9735ca83e3827565276479f590d51c4a6ebfb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 16 Dec 2008 08:45:46 +0000 Subject: Trim include dependency tree. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1870 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/events/CreatePatchEvent.hpp | 5 +---- src/engine/events/NoteEvent.cpp | 4 ++-- src/engine/events/NoteEvent.hpp | 12 ++++++------ src/engine/events/SetPortValueEvent.hpp | 1 + 4 files changed, 10 insertions(+), 12 deletions(-) (limited to 'src/engine/events') diff --git a/src/engine/events/CreatePatchEvent.hpp b/src/engine/events/CreatePatchEvent.hpp index 81ef6b44..0dfb3e50 100644 --- a/src/engine/events/CreatePatchEvent.hpp +++ b/src/engine/events/CreatePatchEvent.hpp @@ -19,11 +19,8 @@ #define CREATEPATCHEVENT_H #include -#include "raul/Path.hpp" #include "QueuedEvent.hpp" -using std::string; - namespace Raul { template class Array; } template class TreeNode; @@ -40,7 +37,7 @@ class CompiledPatch; class CreatePatchEvent : public QueuedEvent { public: - CreatePatchEvent(Engine& engine, SharedPtr responder, SampleCount timestamp, const string& path, int poly); + CreatePatchEvent(Engine& engine, SharedPtr responder, SampleCount timestamp, const std::string& path, int poly); void pre_process(); void execute(ProcessContext& context); diff --git a/src/engine/events/NoteEvent.cpp b/src/engine/events/NoteEvent.cpp index a53f5218..43f59e3c 100644 --- a/src/engine/events/NoteEvent.cpp +++ b/src/engine/events/NoteEvent.cpp @@ -33,7 +33,7 @@ namespace Ingen { * * Used to be triggered by MIDI. Not used anymore. */ -NoteEvent::NoteEvent(Engine& engine, SharedPtr responder, SampleCount timestamp, NodeImpl* node, bool on, uchar note_num, uchar velocity) +NoteEvent::NoteEvent(Engine& engine, SharedPtr responder, SampleCount timestamp, NodeImpl* node, bool on, uint8_t note_num, uint8_t velocity) : Event(engine, responder, timestamp), _node(node), _on(on), @@ -47,7 +47,7 @@ NoteEvent::NoteEvent(Engine& engine, SharedPtr responder, SampleCount * * Triggered by OSC. */ -NoteEvent::NoteEvent(Engine& engine, SharedPtr responder, SampleCount timestamp, const string& node_path, bool on, uchar note_num, uchar velocity) +NoteEvent::NoteEvent(Engine& engine, SharedPtr responder, SampleCount timestamp, const string& node_path, bool on, uint8_t note_num, uint8_t velocity) : Event(engine, responder, timestamp), _node(NULL), _node_path(node_path), diff --git a/src/engine/events/NoteEvent.hpp b/src/engine/events/NoteEvent.hpp index 31ae9d27..443b8d14 100644 --- a/src/engine/events/NoteEvent.hpp +++ b/src/engine/events/NoteEvent.hpp @@ -40,16 +40,16 @@ public: SampleCount timestamp, NodeImpl* node, bool on, - uchar note_num, - uchar velocity); + uint8_t note_num, + uint8_t velocity); NoteEvent(Engine& engine, SharedPtr responder, SampleCount timestamp, const string& node_path, bool on, - uchar note_num, - uchar velocity); + uint8_t note_num, + uint8_t velocity); void execute(ProcessContext& context); void post_process(); @@ -58,8 +58,8 @@ private: NodeImpl* _node; const string _node_path; bool _on; - uchar _note_num; - uchar _velocity; + uint8_t _note_num; + uint8_t _velocity; }; diff --git a/src/engine/events/SetPortValueEvent.hpp b/src/engine/events/SetPortValueEvent.hpp index 6e26babe..64af26c9 100644 --- a/src/engine/events/SetPortValueEvent.hpp +++ b/src/engine/events/SetPortValueEvent.hpp @@ -19,6 +19,7 @@ #define SETPORTVALUEEVENT_H #include +#include "raul/Atom.hpp" #include "QueuedEvent.hpp" #include "types.hpp" using std::string; -- cgit v1.2.1