MCP: zoom button toggles led
[ardour.git] / libs / surfaces / mackie / dummy_port.cc
1 #include "dummy_port.h"
2
3 #include "midi_byte_array.h"
4
5 #include <midi++/port.h>
6 #include <midi++/types.h>
7
8 #include <iostream>
9
10 using namespace Mackie;
11 using namespace std;
12
13 DummyPort::DummyPort()
14 {
15 }
16
17 DummyPort::~DummyPort()
18 {
19 }
20
21         
22 void DummyPort::open()
23 {
24         cout << "DummyPort::open" << endl;
25 }
26
27         
28 void DummyPort::close()
29 {
30         cout << "DummyPort::close" << endl;
31 }
32
33
34 MidiByteArray DummyPort::read()
35 {
36         cout << "DummyPort::read" << endl;
37         return MidiByteArray();
38 }
39
40         
41 void DummyPort::write( const MidiByteArray & mba )
42 {
43         cout << "DummyPort::write " << mba << endl;
44 }
45
46 MidiByteArray empty_midi_byte_array;
47
48 const MidiByteArray & DummyPort::sysex_hdr() const
49 {
50         cout << "DummyPort::sysex_hdr" << endl;
51         return empty_midi_byte_array;
52 }
53
54 int DummyPort::strips() const
55 {
56         cout << "DummyPort::strips" << endl;
57         return 0;
58 }