diff options
author | David Robillard <d@drobilla.net> | 2011-04-16 19:02:36 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-16 19:02:36 +0000 |
commit | 1ac86ca2e5e32bd8bb34bba1589e2152004dc9a6 (patch) | |
tree | bbeed636819fc3e67e77e2645a699e01fd0d2e16 /src/PatchageCanvas.cpp | |
parent | 7627989d3fbc7fd54013988d2ec7c29a5c517bbf (diff) | |
download | patchage-1ac86ca2e5e32bd8bb34bba1589e2152004dc9a6.tar.gz patchage-1ac86ca2e5e32bd8bb34bba1589e2152004dc9a6.tar.bz2 patchage-1ac86ca2e5e32bd8bb34bba1589e2152004dc9a6.zip |
Squeeze blank lines and delete trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3152 a436a847-0d15-0410-975c-d299462d15a1
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() { |