summaryrefslogtreecommitdiffstats
path: root/src/PatchageModule.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-04 23:33:40 +0000
committerDavid Robillard <d@drobilla.net>2011-12-04 23:33:40 +0000
commit997b406e7d71e335c62e7e1f5f0f87303b121b17 (patch)
treed2b46978965c5887e23c43f6def62afebc743049 /src/PatchageModule.cpp
parenta9bea6c1d981d6bc53817fce6db4c9bc0f1e1e62 (diff)
downloadpatchage-997b406e7d71e335c62e7e1f5f0f87303b121b17.tar.gz
patchage-997b406e7d71e335c62e7e1f5f0f87303b121b17.tar.bz2
patchage-997b406e7d71e335c62e7e1f5f0f87303b121b17.zip
Move module port management stuff down to C level.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3798 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageModule.cpp')
-rw-r--r--src/PatchageModule.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/PatchageModule.cpp b/src/PatchageModule.cpp
index 4576261..6ebf335 100644
--- a/src/PatchageModule.cpp
+++ b/src/PatchageModule.cpp
@@ -131,14 +131,16 @@ PatchageModule::join()
void
PatchageModule::add_port(FlowCanvas::Port* port)
{
- FlowCanvas::Module::add_port(port);
+ std::cerr << "FIXME: add port" << std::endl;
+ //FlowCanvas::Module::add_port(port);
update_menu();
}
void
PatchageModule::remove_port(FlowCanvas::Port* port)
{
- FlowCanvas::Module::remove_port(port);
+ std::cerr << "FIXME: remove port" << std::endl;
+ //FlowCanvas::Module::remove_port(port);
update_menu();
}
@@ -146,7 +148,7 @@ void
PatchageModule::menu_disconnect_all()
{
for (iterator p = begin(); p != end(); ++p)
- (*p)->disconnect_all();
+ (*p)->disconnect();
}
PatchagePort*