From 9678996bb97e562fde723bc327e600af7d52e0ef Mon Sep 17 00:00:00 2001
From: David Robillard <d@drobilla.net>
Date: Wed, 15 Dec 2010 06:11:04 +0000
Subject: Don't show `split' menu item for modules with only inputs or outputs
 (ticket #128).

git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2702 a436a847-0d15-0410-975c-d299462d15a1
---
 src/PatchageModule.hpp | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'src/PatchageModule.hpp')

diff --git a/src/PatchageModule.hpp b/src/PatchageModule.hpp
index fcab207..a2b67ee 100644
--- a/src/PatchageModule.hpp
+++ b/src/PatchageModule.hpp
@@ -32,10 +32,15 @@ public:
 	PatchageModule(Patchage* app, const std::string& name, ModuleType type, double x=0, double y=0);
 	~PatchageModule();
 
+	void add_port(boost::shared_ptr<Port> port);
+	void remove_port(boost::shared_ptr<Port> port);
+
 	void split();
 	void join();
 
 	void create_menu();
+	void update_menu();
+
 	void load_location();
 	void menu_disconnect_all();
 	void show_dialog() {}
-- 
cgit v1.2.1