From 9113cdcde8bc1c54ee02a5875ba20e27a3b77fae Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 6 Dec 2011 05:09:37 +0000 Subject: Death to Module.cpp. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3817 a436a847-0d15-0410-975c-d299462d15a1 --- src/PatchageModule.cpp | 1 + src/PatchageModule.hpp | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/PatchageModule.cpp b/src/PatchageModule.cpp index 2d53a27..46188f8 100644 --- a/src/PatchageModule.cpp +++ b/src/PatchageModule.cpp @@ -24,6 +24,7 @@ PatchageModule::PatchageModule( : Module(*app->canvas().get(), name, x, y) , _app(app) , _menu(NULL) + , _name(name) , _type(type) { signal_moved.connect( diff --git a/src/PatchageModule.hpp b/src/PatchageModule.hpp index 56c7980..a0b6da9 100644 --- a/src/PatchageModule.hpp +++ b/src/PatchageModule.hpp @@ -56,9 +56,10 @@ protected: void add_port(FlowCanvas::Port* port); void remove_port(FlowCanvas::Port* port); - Patchage* _app; - Gtk::Menu* _menu; - ModuleType _type; + Patchage* _app; + Gtk::Menu* _menu; + std::string _name; + ModuleType _type; }; #endif // PATCHAGE_PATCHAGEMODULE_HPP -- cgit v1.2.1