summaryrefslogtreecommitdiffstats
path: root/src/PatchagePort.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-02-07 03:22:42 +0000
committerDavid Robillard <d@drobilla.net>2007-02-07 03:22:42 +0000
commitb0dda1ccccb53f8bb7ad59c96252647f8e4aa124 (patch)
tree78a88098a4f73413705141bfe8006373e5671625 /src/PatchagePort.h
parent7eb1849da7c9473c5242665b9a28081034ec6876 (diff)
downloadpatchage-b0dda1ccccb53f8bb7ad59c96252647f8e4aa124.tar.gz
patchage-b0dda1ccccb53f8bb7ad59c96252647f8e4aa124.tar.bz2
patchage-b0dda1ccccb53f8bb7ad59c96252647f8e4aa124.zip
Mad sed-fu for consistent private member naming.
git-svn-id: http://svn.drobilla.net/lad/patchage@286 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchagePort.h')
-rw-r--r--src/PatchagePort.h18
1 files changed, 9 insertions, 9 deletions
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> 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;
};