![]() |
Mixxx
|
00001 /*************************************************************************** 00002 portmidienumerator.h 00003 PortMIDI Device Enumerator Class 00004 -------------------------------- 00005 begin : Thu Feb 25 2010 00006 copyright : (C) 2010 Sean M. Pappalardo 00007 email : spappalardo@mixxx.org 00008 00009 This class handles discovery and enumeration of DJ controller devices 00010 that appear under the PortMIDI cross-platform API. 00011 00012 ***************************************************************************/ 00013 00014 /*************************************************************************** 00015 * * 00016 * This program is free software; you can redistribute it and/or modify * 00017 * it under the terms of the GNU General Public License as published by * 00018 * the Free Software Foundation; either version 2 of the License, or * 00019 * (at your option) any later version. * 00020 * * 00021 ***************************************************************************/ 00022 #ifndef PORTMIDIENUMERATOR_H 00023 #define PORTMIDIENUMERATOR_H 00024 00025 #include "midideviceenumerator.h" 00026 00027 class PortMidiEnumerator : public MidiDeviceEnumerator 00028 { 00029 public: 00030 PortMidiEnumerator(); 00031 ~PortMidiEnumerator(); 00032 QList<MidiDevice*> queryDevices(); 00033 private: 00034 QList<MidiDevice*> m_devices; 00035 }; 00036 00037 #endif