aboutsummaryrefslogtreecommitdiff
path: root/simple-visualization/simplevisualization.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'simple-visualization/simplevisualization.hpp')
-rw-r--r--simple-visualization/simplevisualization.hpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/simple-visualization/simplevisualization.hpp b/simple-visualization/simplevisualization.hpp
new file mode 100644
index 0000000..b3edeee
--- /dev/null
+++ b/simple-visualization/simplevisualization.hpp
@@ -0,0 +1,32 @@
+#ifndef SIMPLEVISUALIZATION_HPP
+#define SIMPLEVISUALIZATION_HPP
+
+#include "../include/qmpcorepublic.hpp"
+
+class qmpKeyboardWindow;
+class qmpSimpleVisualization:public qmpPluginIntf,public qmpFuncBaseIntf
+{
+ private:
+ qmpPluginAPI* api;
+ qmpKeyboardWindow *p;
+ int uihs;
+ public:
+ qmpSimpleVisualization(qmpPluginAPI* _api);
+ void show();
+ void close();
+ void init();
+ void deinit();
+ const char* pluginGetName();
+ const char* pluginGetVersion();
+
+ static void cbstop(void* cbd,void* usrd);
+};
+
+extern "C"{
+ EXPORTSYM qmpPluginIntf* qmpPluginGetInterface(qmpPluginAPI* api)
+ {return new qmpSimpleVisualization(api);}
+ EXPORTSYM const char* qmpPluginGetAPIRev()
+ {return QMP_PLUGIN_API_REV;}
+}
+
+#endif // SIMPLEVISUALIZATION_HPP