aboutsummaryrefslogtreecommitdiff
path: root/simple-visualization/simplevisualization.hpp
blob: 584afcb6939613397eac8d295755f69e34ed5ea3 (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
#ifndef SIMPLEVISUALIZATION_HPP
#define SIMPLEVISUALIZATION_HPP

#include "qmpcorepublic.hpp"

class qmpKeyboardWindow;
class qmpSimpleVisualization: public qmpPluginIntf, public qmpFuncBaseIntf
{
private:
    qmpPluginAPI *api;
    qmpKeyboardWindow *p;
    int uihs;
    int uihsk;
public:
    qmpSimpleVisualization(qmpPluginAPI *_api);
    void show();
    void close();
    void init();
    void deinit();
    const char *pluginGetName();
    const char *pluginGetVersion();
};

extern "C" {
    EXPORTSYM qmpPluginIntf *qmpPluginGetInterface(qmpPluginAPI *api)
    {
        return new qmpSimpleVisualization(api);
    }
    EXPORTSYM const char *qmpPluginGetAPIRev()
    {
        return QMP_PLUGIN_API_REV;
    }
}

#endif // SIMPLEVISUALIZATION_HPP