summaryrefslogtreecommitdiffstats
path: root/src/engine/events
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-12-16 08:45:46 +0000
committerDavid Robillard <d@drobilla.net>2008-12-16 08:45:46 +0000
commit69f9735ca83e3827565276479f590d51c4a6ebfb (patch)
treeea6e68216c53ee432fdab5ababe62388bf3b16d2 /src/engine/events
parentd27b9f2972200b87cca6146d65c71803a656a8ea (diff)
downloadingen-69f9735ca83e3827565276479f590d51c4a6ebfb.tar.gz
ingen-69f9735ca83e3827565276479f590d51c4a6ebfb.tar.bz2
ingen-69f9735ca83e3827565276479f590d51c4a6ebfb.zip
Trim include dependency tree.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1870 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/events')
-rw-r--r--src/engine/events/CreatePatchEvent.hpp5
-rw-r--r--src/engine/events/NoteEvent.cpp4
-rw-r--r--src/engine/events/NoteEvent.hpp12
-rw-r--r--src/engine/events/SetPortValueEvent.hpp1
4 files changed, 10 insertions, 12 deletions
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 <string>
-#include "raul/Path.hpp"
#include "QueuedEvent.hpp"
-using std::string;
-
namespace Raul { template<typename T> class Array; }
template<typename T> class TreeNode;
@@ -40,7 +37,7 @@ class CompiledPatch;
class CreatePatchEvent : public QueuedEvent
{
public:
- CreatePatchEvent(Engine& engine, SharedPtr<Responder> responder, SampleCount timestamp, const string& path, int poly);
+ CreatePatchEvent(Engine& engine, SharedPtr<Responder> 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> responder, SampleCount timestamp, NodeImpl* node, bool on, uchar note_num, uchar velocity)
+NoteEvent::NoteEvent(Engine& engine, SharedPtr<Responder> 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> responder, SampleCount
*
* Triggered by OSC.
*/
-NoteEvent::NoteEvent(Engine& engine, SharedPtr<Responder> responder, SampleCount timestamp, const string& node_path, bool on, uchar note_num, uchar velocity)
+NoteEvent::NoteEvent(Engine& engine, SharedPtr<Responder> 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> 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 <string>
+#include "raul/Atom.hpp"
#include "QueuedEvent.hpp"
#include "types.hpp"
using std::string;