diff options
author | David Robillard <d@drobilla.net> | 2006-06-18 19:26:53 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-06-18 19:26:53 +0000 |
commit | 36f1e2ea3d2c7d20d8fa267a3a66438044e99e8e (patch) | |
tree | 963d5a6d87204fda9d8b1cd91f8810a6582bb41f /src/libs/engine/InternalNode.h | |
parent | 00c8938a79d9e24547420d2a39421bcb7d8cc165 (diff) | |
download | ingen-36f1e2ea3d2c7d20d8fa267a3a66438044e99e8e.tar.gz ingen-36f1e2ea3d2c7d20d8fa267a3a66438044e99e8e.tar.bz2 ingen-36f1e2ea3d2c7d20d8fa267a3a66438044e99e8e.zip |
Reworked use of Plugin class in engine slightly (more RAII-ey)
git-svn-id: http://svn.drobilla.net/lad/grauph@56 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/InternalNode.h')
-rw-r--r-- | src/libs/engine/InternalNode.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libs/engine/InternalNode.h b/src/libs/engine/InternalNode.h index 14a4bc95..e7c35ebd 100644 --- a/src/libs/engine/InternalNode.h +++ b/src/libs/engine/InternalNode.h @@ -33,8 +33,8 @@ class Patch; class InternalNode : public NodeBase { public: - InternalNode(const string& path, size_t poly, Patch* parent, samplerate srate, size_t buffer_size) - : NodeBase(path, poly, parent, srate, buffer_size), + InternalNode(const Plugin* plugin, const string& path, size_t poly, Patch* parent, samplerate srate, size_t buffer_size) + : NodeBase(plugin, path, poly, parent, srate, buffer_size), _is_added(false) { _plugin.lib_path("/Om"); @@ -53,7 +53,6 @@ public: //{ NodeBase::send_creation_messages(client); } virtual const Plugin* plugin() const { return &_plugin; } - virtual void plugin(const Plugin* const) { exit(EXIT_FAILURE); } protected: // Disallow copies (undefined) |