drumstick
1.0.2
|
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 "dummyinput.h" 00021 00022 namespace drumstick { 00023 namespace rt { 00024 00025 void DummyInput::initialize(QSettings* settings) 00026 { 00027 Q_UNUSED(settings) 00028 } 00029 00030 QString DummyInput::backendName() 00031 { 00032 return "DUMMY"; 00033 } 00034 00035 QString DummyInput::publicName() 00036 { 00037 return QString(); 00038 } 00039 00040 void DummyInput::setPublicName(QString name) 00041 { 00042 Q_UNUSED(name) 00043 } 00044 00045 QStringList DummyInput::connections(bool advanced) 00046 { 00047 Q_UNUSED(advanced) 00048 return QStringList(); 00049 } 00050 00051 void DummyInput::setExcludedConnections(QStringList conns) 00052 { 00053 Q_UNUSED(conns) 00054 } 00055 00056 QString DummyInput::currentConnection() 00057 { 00058 return QString(); 00059 } 00060 00061 void DummyInput::open(QString name) 00062 { 00063 Q_UNUSED(name) 00064 } 00065 00066 void DummyInput::close() 00067 { 00068 } 00069 00070 void DummyInput::setMIDIThruDevice(MIDIOutput *device) 00071 { 00072 Q_UNUSED(device) 00073 } 00074 00075 void DummyInput::enableMIDIThru(bool enable) 00076 { 00077 Q_UNUSED(enable) 00078 } 00079 00080 bool DummyInput::isEnabledMIDIThru() 00081 { 00082 return false; 00083 } 00084 00085 00086 }}