1 |
/*************************************************************************** |
/*************************************************************************** |
2 |
* * |
* * |
3 |
* Copyright (C) 2008 Andreas Persson * |
* Copyright (C) 2008 - 2009 Andreas Persson * |
4 |
* * |
* * |
5 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
6 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
43 |
*/ |
*/ |
44 |
class MidiInputPortPlugin : public MidiInputPort { |
class MidiInputPortPlugin : public MidiInputPort { |
45 |
protected: |
protected: |
46 |
MidiInputPortPlugin(MidiInputDevicePlugin* pDevice); |
MidiInputPortPlugin(MidiInputDevicePlugin* pDevice, int portNumber); |
47 |
friend class MidiInputDevicePlugin; |
friend class MidiInputDevicePlugin; |
48 |
}; |
}; |
49 |
|
|
64 |
MidiInputPort* Port() { |
MidiInputPort* Port() { |
65 |
return Ports[0]; |
return Ports[0]; |
66 |
} |
} |
67 |
|
|
68 |
|
static void DeleteMidiPort(MidiInputPort* pPort); |
69 |
}; |
}; |
70 |
} |
} |
71 |
|
|