aboutsummaryrefslogtreecommitdiff
path: root/simple-visualization/simplevisualization.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2020-05-12 00:58:40 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2020-05-12 00:58:40 +0800
commita7407edaf81c685d4a389785a405a53a5de4b148 (patch)
treee6e4f2d85f2172c94ac83a6e8f01e1e90a78ede9 /simple-visualization/simplevisualization.hpp
parent437b7b16c322a8e53ac55a5f831098494d9a7073 (diff)
downloadQMidiPlayer-a7407edaf81c685d4a389785a405a53a5de4b148.tar.xz
Format EVERYTHING.
Hopefully this will make the source code less horrendous and actually readable. The command used was: ``` astyle --suffix=none --style=allman --attach-extern-c --attach-closing-while --indent-switches --indent-after-parens --pad-oper --pad-header --unpad-paren --align-pointer=name --recursive './*.cpp,*.hpp' ```
Diffstat (limited to 'simple-visualization/simplevisualization.hpp')
-rw-r--r--simple-visualization/simplevisualization.hpp42
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