summaryrefslogtreecommitdiffstats
path: root/src/progs/ingenuity/PortController.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-09-09 21:42:33 +0000
committerDavid Robillard <d@drobilla.net>2006-09-09 21:42:33 +0000
commita90181962d3f9eca3e00f665465bbd66bdd79927 (patch)
treebcebc1dc25b788cbd647f70068cd6d1ff40ac722 /src/progs/ingenuity/PortController.h
parentfca95e5d454d37bd74b98f5bce35cfcbaee86c3f (diff)
downloadingen-a90181962d3f9eca3e00f665465bbd66bdd79927.tar.gz
ingen-a90181962d3f9eca3e00f665465bbd66bdd79927.tar.bz2
ingen-a90181962d3f9eca3e00f665465bbd66bdd79927.zip
Canvas cleanups, bugfixes, more robustness, etc.
git-svn-id: http://svn.drobilla.net/lad/ingen@124 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/ingenuity/PortController.h')
-rw-r--r--src/progs/ingenuity/PortController.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/progs/ingenuity/PortController.h b/src/progs/ingenuity/PortController.h
index 53c2cd48..1a58491b 100644
--- a/src/progs/ingenuity/PortController.h
+++ b/src/progs/ingenuity/PortController.h
@@ -35,7 +35,6 @@ namespace Ingenuity {
class Controller;
class OmPort;
class OmPatchPort;
-//class ControlPanel;
class OmModule;
class OmPortModule;
class OmFlowCanvas;
@@ -54,26 +53,22 @@ public:
virtual void destroy();
virtual void create_module(OmFlowCanvas* canvas);
+ virtual void destroy_module();
OmPortModule* module() { return m_module; }
-/*
- virtual void add_to_store();
- virtual void remove_from_store();
-*/
+
virtual void metadata_update(const string& key, const string& value);
void create_port(OmModule* module);
+ void destroy_port();
+
void set_path(const Path& new_path);
- //ControlPanel* control_panel() const { return m_control_panel; }
- //void set_control_panel(ControlPanel* cp);
-
CountedPtr<PortModel> port_model() const { return m_model; }
private:
OmPatchPort* m_patch_port; ///< Port on m_module
OmPortModule* m_module; ///< Port pseudo-module (for patch ports only)
OmPort* m_port; ///< Port on some other canvas module
- //ControlPanel* m_control_panel; ///< Control panel that contains this port
};