summaryrefslogtreecommitdiffstats
path: root/src/progs/gtk/PatchController.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/gtk/PatchController.h')
-rw-r--r--src/progs/gtk/PatchController.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/progs/gtk/PatchController.h b/src/progs/gtk/PatchController.h
index d9491571..553a35e1 100644
--- a/src/progs/gtk/PatchController.h
+++ b/src/progs/gtk/PatchController.h
@@ -71,10 +71,7 @@ public:
virtual void metadata_update(const string& key, const string& value);
- void add_node(NodeModel* nm);
- void remove_node(const string& name);
-
- virtual void add_port(PortModel* pm);
+ virtual void add_port(CountedPtr<PortModel> pm);
virtual void remove_port(const Path& path, bool resize_module);
void connection(ConnectionModel* const cm);
@@ -111,6 +108,9 @@ public:
void disable_controls_menuitem();
private:
+ void add_node(CountedPtr<NodeModel> nm);
+ void remove_node(const string& name);
+
void create_connection(const ConnectionModel* cm);
PatchWindow* m_window; ///< Window currently showing this patch