summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/LV2Node.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-10-07 19:41:15 +0000
committerDavid Robillard <d@drobilla.net>2007-10-07 19:41:15 +0000
commit23683a3e4f03dd8f7cdb1dc1a1592fdaa9d18b23 (patch)
tree837168a652de1a3be0f381e4a4854088dbafa6a2 /src/libs/engine/LV2Node.cpp
parent2cb36f0265a391388b6edf988d919911b79aca4d (diff)
downloadingen-23683a3e4f03dd8f7cdb1dc1a1592fdaa9d18b23.tar.gz
ingen-23683a3e4f03dd8f7cdb1dc1a1592fdaa9d18b23.tar.bz2
ingen-23683a3e4f03dd8f7cdb1dc1a1592fdaa9d18b23.zip
Added common abstract interface for Plugins.
git-svn-id: http://svn.drobilla.net/lad/ingen@837 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/LV2Node.cpp')
-rw-r--r--src/libs/engine/LV2Node.cpp16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/libs/engine/LV2Node.cpp b/src/libs/engine/LV2Node.cpp
index 99d074e1..c37a2665 100644
--- a/src/libs/engine/LV2Node.cpp
+++ b/src/libs/engine/LV2Node.cpp
@@ -24,12 +24,14 @@
#include "LV2Node.hpp"
#include "InputPort.hpp"
#include "OutputPort.hpp"
-#include "Plugin.hpp"
+#include "PluginImpl.hpp"
#include "AudioBuffer.hpp"
#include "MidiBuffer.hpp"
#include "OSCBuffer.hpp"
#include "ProcessContext.hpp"
+using namespace std;
+
namespace Ingen {
@@ -38,12 +40,12 @@ namespace Ingen {
* Object is not usable until instantiate() is called with success.
* (It _will_ crash!)
*/
-LV2Node::LV2Node(const Plugin* plugin,
- const string& name,
- bool polyphonic,
- Patch* parent,
- SampleRate srate,
- size_t buffer_size)
+LV2Node::LV2Node(const PluginImpl* plugin,
+ const string& name,
+ bool polyphonic,
+ Patch* parent,
+ SampleRate srate,
+ size_t buffer_size)
: NodeBase(plugin, name, polyphonic, parent, srate, buffer_size)
, _lv2_plugin(plugin->slv2_plugin())
, _instances(NULL)