blob: 606c4feb4de363a15fc3b838acf5be7468f992d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/**
* @file portmidienumerator.h
* @author Sean Pappalardo spappalardo@mixxx.org
* @date Thu 15 Mar 2012
* @brief This class handles discovery and enumeration of DJ controllers that appear under the PortMIDI cross-platform API.
*/
#ifndef PORTMIDIENUMERATOR_H
#define PORTMIDIENUMERATOR_H
#include "controllers/midi/midienumerator.h"
class PortMidiEnumerator : public MidiEnumerator {
Q_OBJECT
public:
PortMidiEnumerator();
virtual ~PortMidiEnumerator();
QList<Controller*> queryDevices();
private:
QList<Controller*> m_devices;
};
// For testing.
bool shouldLinkInputToOutput(const QString input_name,
const QString output_name);
#endif
|