Name is a common property for all port things

git-svn-id: file:///home/vcs/svn/jsweeper/trunk@31 6611ac79-6612-48ef-a1e9-b906f853523e
master
petern 2009-12-20 21:46:49 +00:00
parent 030a2365e6
commit 5534732bf3
1 changed files with 1 additions and 3 deletions

View File

@ -48,6 +48,7 @@ struct Base {
} }
} }
std::string m_name;
bool m_is_input; bool m_is_input;
bool m_is_midi; bool m_is_midi;
Cairo::TextExtents extents; Cairo::TextExtents extents;
@ -61,7 +62,6 @@ struct Base {
struct Client : Base struct Client : Base
{ {
std::string m_name;
PortGroupList m_groups; PortGroupList m_groups;
PortList m_ports; PortList m_ports;
@ -74,7 +74,6 @@ struct Client : Base
struct PortGroup : Base struct PortGroup : Base
{ {
std::string m_name;
PortList m_ports; PortList m_ports;
virtual ConnectionMode ConnectedTo(Port *port); virtual ConnectionMode ConnectedTo(Port *port);
@ -87,7 +86,6 @@ struct PortGroup : Base
struct Port : Base struct Port : Base
{ {
jack_port_t *m_port; jack_port_t *m_port;
std::string m_name;
Client *m_client; Client *m_client;
PortGroup *m_group; PortGroup *m_group;
PortList m_connections; PortList m_connections;