diff options
author | David Robillard <d@drobilla.net> | 2006-06-11 23:33:00 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-06-11 23:33:00 +0000 |
commit | 0b1c17f08f8eab4ada52ee98ba7353ec0260d3eb (patch) | |
tree | 09af4447ba74f392d12f2153b432cb60be1c08ab /src/progs/gtk/PatchController.h | |
parent | 228279d6717e69ffd2d2a886244179635ac27c2b (diff) | |
download | ingen-0b1c17f08f8eab4ada52ee98ba7353ec0260d3eb.tar.gz ingen-0b1c17f08f8eab4ada52ee98ba7353ec0260d3eb.tar.bz2 ingen-0b1c17f08f8eab4ada52ee98ba7353ec0260d3eb.zip |
New nodes in gtk client working through Store signal interface
git-svn-id: http://svn.drobilla.net/lad/grauph@26 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/gtk/PatchController.h')
-rw-r--r-- | src/progs/gtk/PatchController.h | 8 |
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 |