File: kernelMidiMock.h

package info (click to toggle)
giada 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,516 kB
  • sloc: cpp: 30,620; sh: 144; xml: 66; makefile: 55; ansic: 1
file content (20 lines) | stat: -rw-r--r-- 283 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef G_TESTS_KERNELMIDI_MOCK_H
#define G_TESTS_KERNELMIDI_MOCK_H

#include "../../src/core/midiEvent.h"

namespace giada::m
{
class KernelMidiMock
{
public:
	void send(const MidiEvent& e)
	{
		sent.push_back(e);
	}

	std::vector<MidiEvent> sent;
};
} // namespace giada::m

#endif