aboutsummaryrefslogtreecommitdiff
path: root/visualization/qmpvisualization.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'visualization/qmpvisualization.hpp')
-rw-r--r--visualization/qmpvisualization.hpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/visualization/qmpvisualization.hpp b/visualization/qmpvisualization.hpp
new file mode 100644
index 0000000..847f37b
--- /dev/null
+++ b/visualization/qmpvisualization.hpp
@@ -0,0 +1,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