From f230de56d33171a45588af91d31a3ea09c840933 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 12 May 2009 04:59:38 +0000 Subject: Fix internal node names. Update glade file. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1986 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/InternalController.cpp | 2 +- src/engine/InternalNote.cpp | 2 +- src/engine/InternalPlugin.hpp | 6 +----- src/engine/InternalTransport.cpp | 2 +- src/engine/InternalTrigger.cpp | 2 +- 5 files changed, 5 insertions(+), 9 deletions(-) (limited to 'src/engine') diff --git a/src/engine/InternalController.cpp b/src/engine/InternalController.cpp index e2dede41..7b1d6bc3 100644 --- a/src/engine/InternalController.cpp +++ b/src/engine/InternalController.cpp @@ -31,7 +31,7 @@ namespace Ingen { -static InternalPlugin controller_plugin(NS_INTERNALS "Controller", "controller", "Controller"); +static InternalPlugin controller_plugin(NS_INTERNALS "Controller", "controller"); ControllerNode::ControllerNode(const string& path, bool polyphonic, diff --git a/src/engine/InternalNote.cpp b/src/engine/InternalNote.cpp index f5b22c1a..0e5807a0 100644 --- a/src/engine/InternalNote.cpp +++ b/src/engine/InternalNote.cpp @@ -35,7 +35,7 @@ using namespace std; namespace Ingen { -static InternalPlugin note_plugin(NS_INTERNALS "Note", "note", "Note"); +static InternalPlugin note_plugin(NS_INTERNALS "Note", "note"); NoteNode::NoteNode(const string& path, bool polyphonic, PatchImpl* parent, SampleRate srate, size_t buffer_size) : NodeBase(¬e_plugin, path, polyphonic, parent, srate, buffer_size) diff --git a/src/engine/InternalPlugin.hpp b/src/engine/InternalPlugin.hpp index 1ada28a1..095899eb 100644 --- a/src/engine/InternalPlugin.hpp +++ b/src/engine/InternalPlugin.hpp @@ -47,11 +47,9 @@ class InternalPlugin : public PluginImpl { public: InternalPlugin(const std::string& uri, - const std::string& symbol, - const std::string& name) + const std::string& symbol) : PluginImpl(Plugin::Internal, uri) , _symbol(symbol) - , _name(name) {} NodeImpl* instantiate(const std::string& name, @@ -60,11 +58,9 @@ public: Engine& engine); const string symbol() const { return _symbol; } - const string name() const { return _name; } private: const string _symbol; - const string _name; }; diff --git a/src/engine/InternalTransport.cpp b/src/engine/InternalTransport.cpp index 90b8db28..9ef94ee8 100644 --- a/src/engine/InternalTransport.cpp +++ b/src/engine/InternalTransport.cpp @@ -26,7 +26,7 @@ namespace Ingen { -static InternalPlugin transport_plugin(NS_INTERNALS "Transport", "transport", "Transport"); +static InternalPlugin transport_plugin(NS_INTERNALS "Transport", "transport"); TransportNode::TransportNode(const string& path, bool polyphonic, PatchImpl* parent, SampleRate srate, size_t buffer_size) : NodeBase(&transport_plugin, path, false, parent, srate, buffer_size) diff --git a/src/engine/InternalTrigger.cpp b/src/engine/InternalTrigger.cpp index 623b0bc2..abd205d1 100644 --- a/src/engine/InternalTrigger.cpp +++ b/src/engine/InternalTrigger.cpp @@ -30,7 +30,7 @@ using namespace std; namespace Ingen { -static InternalPlugin trigger_plugin(NS_INTERNALS "Trigger", "trigger", "Trigger"); +static InternalPlugin trigger_plugin(NS_INTERNALS "Trigger", "trigger"); TriggerNode::TriggerNode(const string& path, bool polyphonic, PatchImpl* parent, SampleRate srate, size_t buffer_size) : NodeBase(&trigger_plugin, path, false, parent, srate, buffer_size) -- cgit v1.2.1