aboutsummaryrefslogblamecommitdiff
path: root/qmidiplayer.src.d/qmpimidimapper.hpp
blob: d35dbb9fc3b7b1931b7da6c8bc6045ca909cd0ac (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                          
#ifndef QMPIMIDIMAPPER_H
#define QMPIMIDIMAPPER_H
class qmpIMidiMapper
{
	virtual void deviceInit(int id)=0;
	virtual void deviceDeinit(int id)=0;
	virtual void noteOn(int ch,int key,int vel)=0;
	virtual void noteOff(int ch,int key)=0;
	virtual void ctrlChange(int ch,int cc,int val)=0;
	virtual void progChange(int ch,int val)=0;
	virtual void pitchBend(int ch,int val)=0;
	virtual void sysEx(int length,const char* data)=0;
	virtual static int enumDevices()=0;
	virtual static char* deviceName(int id)=0;
};
#endif // QMPIMIDIMAPPER_H