diff options
author | David Robillard <d@drobilla.net> | 2011-12-06 05:09:37 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-12-06 05:09:37 +0000 |
commit | 9113cdcde8bc1c54ee02a5875ba20e27a3b77fae (patch) | |
tree | d009e7636f7888231c5091f3f2768d23c974e947 /src | |
parent | 3fed69e2ebb44d369a1226aa68fd2d4b2cf34d1c (diff) | |
download | patchage-9113cdcde8bc1c54ee02a5875ba20e27a3b77fae.tar.gz patchage-9113cdcde8bc1c54ee02a5875ba20e27a3b77fae.tar.bz2 patchage-9113cdcde8bc1c54ee02a5875ba20e27a3b77fae.zip |
Death to Module.cpp.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3817 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/PatchageModule.cpp | 1 | ||||
-rw-r--r-- | src/PatchageModule.hpp | 7 |
2 files changed, 5 insertions, 3 deletions
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 |