diff options
author | David Robillard <d@drobilla.net> | 2012-08-12 15:56:21 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-12 15:56:21 +0000 |
commit | 21b1e2e485d9fa954ca742965d000f3273fcb862 (patch) | |
tree | 8f316c5adbf6d387d64ee895b862dae21614524a /src/server/PluginImpl.hpp | |
parent | 65a81eec8943dc0504b8b8755f9866ee4993372c (diff) | |
download | ingen-21b1e2e485d9fa954ca742965d000f3273fcb862.tar.gz ingen-21b1e2e485d9fa954ca742965d000f3273fcb862.tar.bz2 ingen-21b1e2e485d9fa954ca742965d000f3273fcb862.zip |
Stricter symbol construction and conversion.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4670 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/PluginImpl.hpp')
-rw-r--r-- | src/server/PluginImpl.hpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/server/PluginImpl.hpp b/src/server/PluginImpl.hpp index 1031c8e3..8ef569ab 100644 --- a/src/server/PluginImpl.hpp +++ b/src/server/PluginImpl.hpp @@ -24,6 +24,7 @@ #include "ingen/Plugin.hpp" #include "ingen/Resource.hpp" +#include "raul/Symbol.hpp" namespace Ingen { @@ -51,16 +52,16 @@ public: , _type(type) {} - virtual NodeImpl* instantiate(BufferFactory& bufs, - const std::string& name, - bool polyphonic, - PatchImpl* parent, + virtual NodeImpl* instantiate(BufferFactory& bufs, + const Raul::Symbol& symbol, + bool polyphonic, + PatchImpl* parent, Engine& engine) = 0; - virtual const std::string symbol() const = 0; + virtual const Raul::Symbol symbol() const = 0; - Plugin::Type type() const { return _type; } - void type(Plugin::Type t) { _type = t; } + Plugin::Type type() const { return _type; } + void type(Plugin::Type t) { _type = t; } protected: Plugin::Type _type; |