drumstick  1.0.2
dummyoutput.cpp
00001 /*
00002     Drumstick RT (realtime MIDI In/Out)
00003     Copyright (C) 2009-2015 Pedro Lopez-Cabanillas <plcl@users.sf.net>
00004 
00005     This program is free software; you can redistribute it and/or modify
00006     it under the terms of the GNU General Public License as published by
00007     the Free Software Foundation; either version 2 of the License, or
00008     (at your option) any later version.
00009 
00010     This program is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013     GNU General Public License for more details.
00014 
00015     You should have received a copy of the GNU General Public License along
00016     with this program; if not, write to the Free Software Foundation, Inc.,
00017     51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
00018 */
00019 
00020 #include "dummyoutput.h"
00021 
00022 namespace drumstick {
00023 namespace rt {
00024 
00025 void DummyOutput::initialize(QSettings* settings)
00026 {
00027     Q_UNUSED(settings)
00028 }
00029 
00030 QString DummyOutput::backendName()
00031 {
00032     return QLatin1String("DUMMY");
00033 }
00034 
00035 QString DummyOutput::publicName()
00036 {
00037     return QString();
00038 }
00039 
00040 void DummyOutput::setPublicName(QString name)
00041 {
00042     Q_UNUSED(name)
00043 }
00044 
00045 QStringList DummyOutput::connections(bool advanced)
00046 {
00047     Q_UNUSED(advanced)
00048     return QStringList();
00049 }
00050 
00051 void DummyOutput::setExcludedConnections(QStringList conns)
00052 {
00053     Q_UNUSED(conns)
00054 }
00055 
00056 void DummyOutput::open(QString name)
00057 {
00058     Q_UNUSED(name)
00059 }
00060 
00061 void DummyOutput::close()
00062 {
00063 }
00064 
00065 QString DummyOutput::currentConnection()
00066 {
00067     return QString();
00068 }
00069 
00070 void DummyOutput::sendNoteOff(int chan, int note, int vel)
00071 {
00072     Q_UNUSED(chan)
00073     Q_UNUSED(note)
00074     Q_UNUSED(vel)
00075 }
00076 
00077 void DummyOutput::sendNoteOn(int chan, int note, int vel)
00078 {
00079     Q_UNUSED(chan)
00080     Q_UNUSED(note)
00081     Q_UNUSED(vel)
00082 }
00083 
00084 void DummyOutput::sendKeyPressure(int chan, int note, int value)
00085 {
00086     Q_UNUSED(chan)
00087     Q_UNUSED(note)
00088     Q_UNUSED(value)
00089 }
00090 
00091 void DummyOutput::sendController(int chan, int control, int value)
00092 {
00093     Q_UNUSED(chan)
00094     Q_UNUSED(control)
00095     Q_UNUSED(value)
00096 }
00097 
00098 void DummyOutput::sendProgram(int chan, int program)
00099 {
00100     Q_UNUSED(chan)
00101     Q_UNUSED(program)
00102 }
00103 
00104 void DummyOutput::sendChannelPressure(int chan, int value)
00105 {
00106     Q_UNUSED(chan)
00107     Q_UNUSED(value)
00108 }
00109 
00110 void DummyOutput::sendPitchBend(int chan, int value)
00111 {
00112     Q_UNUSED(chan)
00113     Q_UNUSED(value)
00114 }
00115 
00116 void DummyOutput::sendSysex(const QByteArray &data)
00117 {
00118     Q_UNUSED(data)
00119 }
00120 
00121 void DummyOutput::sendSystemMsg(const int status)
00122 {
00123     Q_UNUSED(status)
00124 }
00125 
00126 
00127 }}