drumstick  1.0.0
dummyinput.cpp
1 /*
2  Drumstick RT (realtime MIDI In/Out)
3  Copyright (C) 2009-2014 Pedro Lopez-Cabanillas <plcl@users.sf.net>
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License along
16  with this program; if not, write to the Free Software Foundation, Inc.,
17  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 */
19 
20 #include "dummyinput.h"
21 
22 namespace drumstick {
23 namespace rt {
24 
25 void DummyInput::initialize(QSettings* settings)
26 {
27  Q_UNUSED(settings)
28 }
29 
30 QString DummyInput::backendName()
31 {
32  return "DUMMY";
33 }
34 
35 QString DummyInput::publicName()
36 {
37  return QString();
38 }
39 
40 void DummyInput::setPublicName(QString name)
41 {
42  Q_UNUSED(name)
43 }
44 
45 QStringList DummyInput::connections(bool advanced)
46 {
47  Q_UNUSED(advanced)
48  return QStringList();
49 }
50 
51 void DummyInput::setExcludedConnections(QStringList conns)
52 {
53  Q_UNUSED(conns)
54 }
55 
56 QString DummyInput::currentConnection()
57 {
58  return QString();
59 }
60 
61 void DummyInput::open(QString name)
62 {
63  Q_UNUSED(name)
64 }
65 
66 void DummyInput::close()
67 {
68 }
69 
70 void DummyInput::setMIDIThruDevice(MIDIOutput *device)
71 {
72  Q_UNUSED(device)
73 }
74 
75 void DummyInput::enableMIDIThru(bool enable)
76 {
77  Q_UNUSED(enable)
78 }
79 
80 bool DummyInput::isEnabledMIDIThru()
81 {
82  return false;
83 }
84 
85 
86 }}