1#ifndef MIDIOUTWINDOWS_HH
2#define MIDIOUTWINDOWS_HH
10class PluggingController;
12class MidiOutWindows final :
public MidiOutDevice
15 static void registerAll(PluggingController& controller);
17 explicit MidiOutWindows(
unsigned num);
21 void plugHelper(
Connector& connector, EmuTime::param time)
override;
22 void unplugHelper(EmuTime::param time)
override;
23 [[nodiscard]] std::string_view
getName()
const override;
24 [[nodiscard]] std::string_view getDescription()
const override;
27 void recvMessage(
const std::vector<uint8_t>& message, EmuTime::param time)
override;
29 template<
typename Archive>
30 void serialize(Archive& ar,
unsigned version);
std::string getName(KeyCode keyCode)
Translate key code to key name.
This file implemented 3 utility functions:
void serialize(Archive &ar, T &t, unsigned version)