diff options
Diffstat (limited to 'visualization/renderer/qmppluginapistub.cpp')
-rw-r--r-- | visualization/renderer/qmppluginapistub.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/visualization/renderer/qmppluginapistub.cpp b/visualization/renderer/qmppluginapistub.cpp index d37e191..1be4880 100644 --- a/visualization/renderer/qmppluginapistub.cpp +++ b/visualization/renderer/qmppluginapistub.cpp @@ -79,12 +79,16 @@ int qmpPluginAPIStub::registerUIHook(std::string e, callback_t cb, void *userdat { if(e=="main.start") core->startcb=cb; + if(e=="main.reset") + core->resetcb=cb; return 0; } void qmpPluginAPIStub::unregisterUIHook(std::string e, int hook) { if(e=="main.start") core->startcb=nullptr; + if(e=="main.reset") + core->resetcb=nullptr; } void qmpPluginAPIStub::registerMidiOutDevice(qmpMidiOutDevice *dev, std::string name){} |