summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/MidiTriggerNode.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-09-20 20:54:31 +0000
committerDavid Robillard <d@drobilla.net>2007-09-20 20:54:31 +0000
commit615ceaaf519d0c42a9215c4835e1f7348f2e5dca (patch)
tree79093453605d8a1b2ff97dc07cff14324bc14f06 /src/libs/engine/MidiTriggerNode.hpp
parenta4625db3f26716fb7a34614c76582ab92b5212e8 (diff)
downloadingen-615ceaaf519d0c42a9215c4835e1f7348f2e5dca.tar.gz
ingen-615ceaaf519d0c42a9215c4835e1f7348f2e5dca.tar.bz2
ingen-615ceaaf519d0c42a9215c4835e1f7348f2e5dca.zip
Remove useless InternalNode class.
Percolate boolean polyphony down through Node class heirarchy (instead of integer). git-svn-id: http://svn.drobilla.net/lad/ingen@742 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/MidiTriggerNode.hpp')
-rw-r--r--src/libs/engine/MidiTriggerNode.hpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/libs/engine/MidiTriggerNode.hpp b/src/libs/engine/MidiTriggerNode.hpp
index 12f68789..83dbe65f 100644
--- a/src/libs/engine/MidiTriggerNode.hpp
+++ b/src/libs/engine/MidiTriggerNode.hpp
@@ -19,11 +19,9 @@
#define MIDITRIGGERNODE_H
#include <string>
-#include "InternalNode.hpp"
+#include "NodeBase.hpp"
#include "MidiBuffer.hpp"
-using std::string;
-
namespace Ingen {
class InputPort;
@@ -40,10 +38,10 @@ class OutputPort;
*
* \ingroup engine
*/
-class MidiTriggerNode : public InternalNode
+class MidiTriggerNode : public NodeBase
{
public:
- MidiTriggerNode(const string& path, uint32_t poly, Patch* parent, SampleRate srate, size_t buffer_size);
+ MidiTriggerNode(const std::string& path, bool polyphonic, Patch* parent, SampleRate srate, size_t buffer_size);
void process(SampleCount nframes, FrameTime start, FrameTime end);