summaryrefslogtreecommitdiffstats
path: root/src/controllers/midi/portmidicontroller.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/controllers/midi/portmidicontroller.h')
-rw-r--r--src/controllers/midi/portmidicontroller.h30
1 files changed, 9 insertions, 21 deletions
diff --git a/src/controllers/midi/portmidicontroller.h b/src/controllers/midi/portmidicontroller.h
index 45770edebd..25012eb1ac 100644
--- a/src/controllers/midi/portmidicontroller.h
+++ b/src/controllers/midi/portmidicontroller.h
@@ -1,21 +1,4 @@
-/**
- * @file portmidicontroller.h
- * @author Albert Santoni alberts@mixxx.org
- * @author Sean M. Pappalardo spappalardo@mixxx.org
- * @date Thu 15 Mar 2012
- * @brief PortMidi-based MIDI backend
- *
- * This class is represents a MIDI device, either physical or software.
- * It uses the PortMidi API to send and receive MIDI messages to/from the device.
- * It's important to note that PortMidi treats input and output on a single
- * physical device as two separate half-duplex devices. In this class, we wrap
- * those together into a single device, which is why the constructor takes
- * both arguments pertaining to both input and output "devices".
- *
- */
-
-#ifndef PORTMIDICONTROLLER_H
-#define PORTMIDICONTROLLER_H
+#pragma once
#include <portmidi.h>
@@ -55,7 +38,14 @@
// String to display for no MIDI devices present
#define MIXXX_PORTMIDI_NO_DEVICE_STRING "None"
-// A PortMidi-based implementation of MidiController
+/// PortMidi-based implementation of MidiController
+///
+/// This class is represents a MIDI device, either physical or software.
+/// It uses the PortMidi API to send and receive MIDI messages to/from the device.
+/// It's important to note that PortMidi treats input and output on a single
+/// physical device as two separate half-duplex devices. In this class, we wrap
+/// those together into a single device, which is why the constructor takes
+/// both arguments pertaining to both input and output "devices".
class PortMidiController : public MidiController {
Q_OBJECT
public:
@@ -104,5 +94,3 @@ class PortMidiController : public MidiController {
friend class PortMidiControllerTest;
};
-
-#endif