--- jlscp/trunk/src/org/linuxsampler/lscp/MidiInputDevice.java 2007/11/19 21:18:20 1493 +++ jlscp/trunk/src/org/linuxsampler/lscp/MidiInputDevice.java 2007/11/19 22:00:04 1494 @@ -28,6 +28,7 @@ * @author Grigor Iliev */ public class MidiInputDevice extends AbstractDevice { + private Parameter ports = null; private MidiPort[] midiPorts = new MidiPort[0]; /** Creates a new instance of MidiInputDevice */ @@ -53,6 +54,20 @@ } /** + * Gets the PORTS parameter. + * @return A Parameter instance. + */ + public Parameter + getPortsParameter() { return ports; } + + /** + * Sets the PORTS parameter. + * @param ports The new PORTS parameter. + */ + public void + setPortsParameter(Parameter ports) { this.ports = ports; } + + /** * Gets the MIDI port at the specified index. * @param index The index of the MIDI port to be retrieved. */