diff options
Diffstat (limited to 'simple-visualization/simplevisualization.hpp')
-rw-r--r-- | simple-visualization/simplevisualization.hpp | 42 |
1 files changed, 23 insertions, 19 deletions
diff --git a/simple-visualization/simplevisualization.hpp b/simple-visualization/simplevisualization.hpp index 58b02ac..6d09cb6 100644 --- a/simple-visualization/simplevisualization.hpp +++ b/simple-visualization/simplevisualization.hpp @@ -4,28 +4,32 @@ #include "../include/qmpcorepublic.hpp" class qmpKeyboardWindow; -class qmpSimpleVisualization:public qmpPluginIntf,public qmpFuncBaseIntf +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(); +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;} +extern "C" { + EXPORTSYM qmpPluginIntf *qmpPluginGetInterface(qmpPluginAPI *api) + { + return new qmpSimpleVisualization(api); + } + EXPORTSYM const char *qmpPluginGetAPIRev() + { + return QMP_PLUGIN_API_REV; + } } #endif // SIMPLEVISUALIZATION_HPP |