summaryrefslogtreecommitdiffstats
path: root/src/libs/client/PatchModel.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-06-14 18:23:57 +0000
committerDavid Robillard <d@drobilla.net>2006-06-14 18:23:57 +0000
commit5a7beed295e6c8cee627774b9ca4d2e0eff510c1 (patch)
treedf080d187fc75292a163d5ab7331b15027e81154 /src/libs/client/PatchModel.h
parent52f5c887cf8d4149278d137684f8f1ee31231d65 (diff)
downloadingen-5a7beed295e6c8cee627774b9ca4d2e0eff510c1.tar.gz
ingen-5a7beed295e6c8cee627774b9ca4d2e0eff510c1.tar.bz2
ingen-5a7beed295e6c8cee627774b9ca4d2e0eff510c1.zip
Removed unused cruft from GTK client
git-svn-id: http://svn.drobilla.net/lad/grauph@37 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client/PatchModel.h')
-rw-r--r--src/libs/client/PatchModel.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/src/libs/client/PatchModel.h b/src/libs/client/PatchModel.h
index 6b3b212f..c099d768 100644
--- a/src/libs/client/PatchModel.h
+++ b/src/libs/client/PatchModel.h
@@ -44,20 +44,21 @@ public:
m_poly(poly)
{}
- const NodeModelMap& nodes() const { return m_nodes; }
+ const NodeModelMap& nodes() const { return m_nodes; }
const list<CountedPtr<ConnectionModel> >& connections() const { return m_connections; }
virtual void set_path(const Path& path);
- NodeModel* get_node(const string& node_name);
- void add_node(CountedPtr<NodeModel> nm);
- void remove_node(const string& name);
+ CountedPtr<NodeModel> get_node(const string& node_name);
+ void add_node(CountedPtr<NodeModel> nm);
+ void remove_node(const string& name);
- void rename_node(const Path& old_path, const Path& new_path);
- void rename_node_port(const Path& old_path, const Path& new_path);
+ void rename_node(const Path& old_path, const Path& new_path);
+ void rename_node_port(const Path& old_path, const Path& new_path);
+
CountedPtr<ConnectionModel> get_connection(const string& src_port_path, const string& dst_port_path);
- void add_connection(CountedPtr<ConnectionModel> cm);
- void remove_connection(const string& src_port_path, const string& dst_port_path);
+ void add_connection(CountedPtr<ConnectionModel> cm);
+ void remove_connection(const string& src_port_path, const string& dst_port_path);
virtual void clear();
@@ -80,11 +81,11 @@ private:
PatchModel(const PatchModel& copy);
PatchModel& operator=(const PatchModel& copy);
- NodeModelMap m_nodes;
- list<CountedPtr<ConnectionModel> > m_connections;
- string m_filename;
- bool m_enabled;
- size_t m_poly;
+ NodeModelMap m_nodes;
+ list<CountedPtr<ConnectionModel> > m_connections;
+ string m_filename;
+ bool m_enabled;
+ size_t m_poly;
};
typedef map<string, PatchModel*> PatchModelMap;