Mixxx

/home/maxime/Projets/Mixxx/1.10/mixxx/src/midi/midideviceenumerator.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           MidiDeviceEnumerator.h
00003                        MIDI 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     This is a base class that cannot be instantiated on its own:
00011     it must be inherited by a class that implements it on top of some API.
00012     (See PortMidiEnumarator, as of Feb 2010.)
00013 
00014 ***************************************************************************/
00015 
00016 /***************************************************************************
00017 *                                                                         *
00018 *   This program is free software; you can redistribute it and/or modify  *
00019 *   it under the terms of the GNU General Public License as published by  *
00020 *   the Free Software Foundation; either version 2 of the License, or     *
00021 *   (at your option) any later version.                                   *
00022 *                                                                         *
00023 ***************************************************************************/
00024 #ifndef MIDIDEVICEENUMERATOR_H
00025 #define MIDIDEVICEENUMERATOR_H
00026 
00027 #include "mididevice.h"
00028 
00029 class MidiDeviceEnumerator : public QObject
00030 {
00031 Q_OBJECT
00032     public:
00033         MidiDeviceEnumerator();
00034         virtual ~MidiDeviceEnumerator();
00035         virtual QList<MidiDevice*> queryDevices() = 0;
00036 };
00037 
00038 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines