![]() |
Mixxx
|
00001 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef MIDIDEVICEDUMMY_H 00019 #define MIDIDEVICEDUMMY_H 00020 00021 #include <QtCore> 00022 #include "mididevice.h" 00023 00029 class MidiDeviceDummy : public MidiDevice { 00030 public: 00031 MidiDeviceDummy(MidiMapping* mapping=NULL) : MidiDevice(mapping) { setObjectName("Dummy MIDI Device");}; 00032 ~MidiDeviceDummy() {}; 00033 int open() { return 0; }; 00034 int close() { return 0; }; 00035 void run() { return; }; 00036 void sendShortMsg(unsigned int word) {}; 00037 void sendSysexMsg(unsigned char data[], unsigned int length) {}; 00038 protected: 00039 00040 }; 00041 00042 #endif