aboutsummaryrefslogtreecommitdiff
path: root/visualization/qmpvisualization.hpp
blob: 847f37b7b3bac928e8bb0d109a4ceafc9454d542 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef QMPVISUALIZATION_H
#define QMPVISUALIZATION_H

#include "../include/qmpcorepublic.hpp"

class qmpVisualization;
class CTestCallBack:public IMidiCallBack
{
	private:
		qmpVisualization *par;
	public:
		CTestCallBack(qmpVisualization *_par){par=_par;}
		void callBack(void *callerdata,void *userdata);
};
class qmpVisualization:public qmpPluginIntf
{
	friend class CTestCallBack;
	private:
		qmpPluginAPI* api;
		int c;
		CTestCallBack* cb;
	public:
		qmpVisualization(qmpPluginAPI* _api);
		~qmpVisualization();
		void init();
		void deinit();
		const char* pluginGetName();
		const char* pluginGetVersion();
};

extern "C"{
	qmpPluginIntf* qmpPluginGetInterface(qmpPluginAPI* api)
	{return new qmpVisualization(api);}
}

#endif // QMPVISUALIZATION_H