diff options
author | David Robillard <d@drobilla.net> | 2011-01-09 20:59:40 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-01-09 20:59:40 +0000 |
commit | c1775fa65273b5f5590a0319563159b13e901fbb (patch) | |
tree | e6704c3948b2b6204eec93621d71ceeb50ee1dfd /src/PatchageModule.cpp | |
parent | 9a1cd7003886f89e2228d74d61130dc5d24c06a3 (diff) | |
download | patchage-c1775fa65273b5f5590a0319563159b13e901fbb.tar.gz patchage-c1775fa65273b5f5590a0319563159b13e901fbb.tar.bz2 patchage-c1775fa65273b5f5590a0319563159b13e901fbb.zip |
Code cleanups (cpplint).
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2804 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageModule.cpp')
-rw-r--r-- | src/PatchageModule.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/PatchageModule.cpp b/src/PatchageModule.cpp index d129e2e..79ba901 100644 --- a/src/PatchageModule.cpp +++ b/src/PatchageModule.cpp @@ -43,7 +43,7 @@ PatchageModule::update_menu() if (_type == InputOutput) { bool has_in = false; bool has_out = false; - for (PortVector::iterator p = _ports.begin(); p != _ports.end(); ++p) { + for (FlowCanvas::PortVector::iterator p = _ports.begin(); p != _ports.end(); ++p) { if ((*p)->is_input()) { has_in = true; } else { @@ -79,7 +79,7 @@ PatchageModule::create_menu() void PatchageModule::load_location() { - boost::shared_ptr<Canvas> canvas = _canvas.lock(); + boost::shared_ptr<FlowCanvas::Canvas> canvas = _canvas.lock(); if (!canvas) return; @@ -116,14 +116,14 @@ PatchageModule::join() } void -PatchageModule::add_port(boost::shared_ptr<Port> port) +PatchageModule::add_port(boost::shared_ptr<FlowCanvas::Port> port) { FlowCanvas::Module::add_port(port); update_menu(); } void -PatchageModule::remove_port(boost::shared_ptr<Port> port) +PatchageModule::remove_port(boost::shared_ptr<FlowCanvas::Port> port) { FlowCanvas::Module::remove_port(port); update_menu(); @@ -132,6 +132,6 @@ PatchageModule::remove_port(boost::shared_ptr<Port> port) void PatchageModule::menu_disconnect_all() { - for (PortVector::iterator p = _ports.begin(); p != _ports.end(); ++p) + for (FlowCanvas::PortVector::iterator p = _ports.begin(); p != _ports.end(); ++p) (*p)->disconnect_all(); } |