summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/JackMidiDriver.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-06-19 00:42:15 +0000
committerDavid Robillard <d@drobilla.net>2006-06-19 00:42:15 +0000
commit4adc4f4a2b4f57f43affcd48f2c01c60f471b20a (patch)
tree48b36e2df65257905fde0141f5301347ca643f24 /src/libs/engine/JackMidiDriver.h
parentb1b4335b767f34b41903a85040cd07dabe0f33ec (diff)
downloadingen-4adc4f4a2b4f57f43affcd48f2c01c60f471b20a.tar.gz
ingen-4adc4f4a2b4f57f43affcd48f2c01c60f471b20a.tar.bz2
ingen-4adc4f4a2b4f57f43affcd48f2c01c60f471b20a.zip
Renamed PortBase to TypedPort
git-svn-id: http://svn.drobilla.net/lad/grauph@60 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/JackMidiDriver.h')
-rw-r--r--src/libs/engine/JackMidiDriver.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libs/engine/JackMidiDriver.h b/src/libs/engine/JackMidiDriver.h
index 950d382f..33b4a0e1 100644
--- a/src/libs/engine/JackMidiDriver.h
+++ b/src/libs/engine/JackMidiDriver.h
@@ -29,7 +29,7 @@ namespace Om {
class Node;
class SetPortValueEvent;
class JackMidiDriver;
-template <typename T> class PortBase;
+template <typename T> class TypedPort;
/** Representation of an JACK MIDI port.
@@ -39,7 +39,7 @@ template <typename T> class PortBase;
class JackMidiPort : public DriverPort, public ListNode<JackMidiPort*>
{
public:
- JackMidiPort(JackMidiDriver* driver, PortBase<MidiMessage>* port);
+ JackMidiPort(JackMidiDriver* driver, TypedPort<MidiMessage>* port);
virtual ~JackMidiPort();
void prepare_block(const samplecount block_start, const samplecount block_end);
@@ -48,7 +48,7 @@ public:
void remove_from_driver();
void set_name(const string& name) { jack_port_set_name(m_jack_port, name.c_str()); };
- PortBase<MidiMessage>* patch_port() const { return m_patch_port; }
+ TypedPort<MidiMessage>* patch_port() const { return m_patch_port; }
private:
// Prevent copies (undefined)
@@ -57,7 +57,7 @@ private:
JackMidiDriver* m_driver;
jack_port_t* m_jack_port;
- PortBase<MidiMessage>* m_patch_port;
+ TypedPort<MidiMessage>* m_patch_port;
};
@@ -84,7 +84,7 @@ public:
void prepare_block(const samplecount block_start, const samplecount block_end);
- JackMidiPort* create_port(PortBase<MidiMessage>* patch_port)
+ JackMidiPort* create_port(TypedPort<MidiMessage>* patch_port)
{ return new JackMidiPort(this, patch_port); }
jack_client_t* jack_client() { return m_client; }