20 #ifndef NOMIDIIMPLEMENTATION_H
21 #define NOMIDIIMPLEMENTATION_H
40 void init()
override final;
41 void exit()
override final;
45 bool OpenPort (
int i, std::string AppName=
"")
override final;
46 bool OpenPort (std::string AppName=
"")
override final;
50 #endif // NOMIDIIMPLEMENTATION_H
int getCurrentPort() const overridefinal
Get the current port number.
bool OpenPort(int i, std::string AppName="") overridefinal
Open Midi input device number i.
void exit() overridefinal
Shut down the implementation.
int GetNumberOfPorts() overridefinal
Get the number of available input devices.
std::string GetPortName(int i) overridefinal
Get the name of device i (starting with zero)
void init() overridefinal
Initialisation of the implementation.
Adapter class for reading an externally connected MIDI keyboard.