From b0dda1ccccb53f8bb7ad59c96252647f8e4aa124 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 7 Feb 2007 03:22:42 +0000 Subject: Mad sed-fu for consistent private member naming. git-svn-id: http://svn.drobilla.net/lad/patchage@286 a436a847-0d15-0410-975c-d299462d15a1 --- src/PatchagePort.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/PatchagePort.h') diff --git a/src/PatchagePort.h b/src/PatchagePort.h index 13c51a8..be5ee70 100644 --- a/src/PatchagePort.h +++ b/src/PatchagePort.h @@ -43,11 +43,11 @@ class PatchagePort : public LibFlowCanvas::Port public: PatchagePort(boost::shared_ptr module, PortType type, const string& name, bool is_input, int color) : Port(module, name, is_input, color), - m_type(type) + _type(type) { #ifdef HAVE_ALSA - m_alsa_addr.client = '\0'; - m_alsa_addr.port = '\0'; + _alsa_addr.client = '\0'; + _alsa_addr.port = '\0'; #endif } @@ -55,20 +55,20 @@ public: #ifdef HAVE_ALSA // FIXME: This driver specific crap really needs to go - void alsa_addr(const snd_seq_addr_t addr) { m_alsa_addr = addr; } + void alsa_addr(const snd_seq_addr_t addr) { _alsa_addr = addr; } const snd_seq_addr_t* alsa_addr() const - { return (m_type == ALSA_MIDI) ? &m_alsa_addr : NULL; } + { return (_type == ALSA_MIDI) ? &_alsa_addr : NULL; } #endif /** Returns the full name of this port, as "modulename:portname" */ - string full_name() const { return m_module.lock()->name() + ":" + m_name; } + string full_name() const { return _module.lock()->name() + ":" + _name; } - PortType type() const { return m_type; } + PortType type() const { return _type; } private: #ifdef HAVE_ALSA - snd_seq_addr_t m_alsa_addr; + snd_seq_addr_t _alsa_addr; #endif - PortType m_type; + PortType _type; }; -- cgit v1.2.1