diff options
Diffstat (limited to 'src/PatchageCanvas.cpp')
-rw-r--r-- | src/PatchageCanvas.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/PatchageCanvas.cpp b/src/PatchageCanvas.cpp index ae994e9..9a8854a 100644 --- a/src/PatchageCanvas.cpp +++ b/src/PatchageCanvas.cpp @@ -42,7 +42,6 @@ PatchageCanvas::PatchageCanvas(Patchage* app, int width, int height) { } - boost::shared_ptr<PatchageModule> PatchageCanvas::find_module(const string& name, ModuleType type) { @@ -63,7 +62,6 @@ PatchageCanvas::find_module(const string& name, ModuleType type) return io_module; } - boost::shared_ptr<PatchagePort> PatchageCanvas::find_port(const PortID& id) { @@ -135,7 +133,6 @@ PatchageCanvas::find_port_by_name(const std::string& client_name, return boost::shared_ptr<PatchagePort>(); } - void PatchageCanvas::connect(boost::shared_ptr<FlowCanvas::Connectable> port1, boost::shared_ptr<FlowCanvas::Connectable> port2) @@ -159,7 +156,6 @@ PatchageCanvas::connect(boost::shared_ptr<FlowCanvas::Connectable> port1, } } - void PatchageCanvas::disconnect(boost::shared_ptr<FlowCanvas::Connectable> port1, boost::shared_ptr<FlowCanvas::Connectable> port2) @@ -196,14 +192,12 @@ PatchageCanvas::disconnect(boost::shared_ptr<FlowCanvas::Connectable> port1, } } - void PatchageCanvas::status_message(const string& msg) { _app->status_msg(string("[Canvas] ").append(msg)); } - void PatchageCanvas::add_module(const std::string& name, boost::shared_ptr<PatchageModule> module) { @@ -221,11 +215,10 @@ PatchageCanvas::add_module(const std::string& name, boost::shared_ptr<PatchageMo } if (in_module && out_module) out_module->set_partner(in_module); - + add_item(module); } - bool PatchageCanvas::remove_item(boost::shared_ptr<FlowCanvas::Item> i) { @@ -250,7 +243,6 @@ PatchageCanvas::remove_item(boost::shared_ptr<FlowCanvas::Item> i) return ret; } - void PatchageCanvas::destroy() { |