From 2122a857662203936a04a39df7d0e1ad1db82853 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 6 Jan 2007 04:16:26 +0000 Subject: Work on Port destruction (still broken). git-svn-id: http://svn.drobilla.net/lad/ingen@233 a436a847-0d15-0410-975c-d299462d15a1 --- src/progs/ingenuity/Port.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/progs/ingenuity/Port.h') diff --git a/src/progs/ingenuity/Port.h b/src/progs/ingenuity/Port.h index a23cd2c9..0498b5a8 100644 --- a/src/progs/ingenuity/Port.h +++ b/src/progs/ingenuity/Port.h @@ -35,14 +35,17 @@ namespace Ingenuity { class Port : public LibFlowCanvas::Port { public: - Port(boost::shared_ptr module, SharedPtr pm, bool flip = false); + Port(boost::shared_ptr module, SharedPtr pm, bool flip = false, bool destroyable = false); virtual ~Port() {} - SharedPtr model() const { return m_port_model; } + SharedPtr model() const { return _port_model; } private: - SharedPtr m_port_model; + + void on_menu_destroy(); + + SharedPtr _port_model; }; -- cgit v1.2.1