diff options
author | Chris Xiong <chirs241097@gmail.com> | 2019-11-02 22:13:32 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2019-11-02 22:13:32 +0800 |
commit | b2ef363f49db70219ac1eaebb7d69dcdade8d60b (patch) | |
tree | cfc0e8da88dc27b62578dccbce367736e020f63d /include/qmpcorepublic.hpp | |
parent | 23525e2a648a23f099c2b533aa91839a2f8e829f (diff) | |
download | QMidiPlayer-b2ef363f49db70219ac1eaebb7d69dcdade8d60b.tar.xz |
Keyboard plugin: show additional information on the side.
qmpPluginAPI::registerEventHandler now accepts an optional argument
that determines whether the handler is called prior to or after an
event is sent.
Diffstat (limited to 'include/qmpcorepublic.hpp')
-rw-r--r-- | include/qmpcorepublic.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qmpcorepublic.hpp b/include/qmpcorepublic.hpp index 178fa19..35a7a70 100644 --- a/include/qmpcorepublic.hpp +++ b/include/qmpcorepublic.hpp @@ -169,7 +169,7 @@ class qmpPluginAPI virtual void unregisterEventHandlerIntf(int intfhandle); virtual int registerFileReadFinishedHandlerIntf(ICallBack* cb,void* userdata); virtual void unregisterFileReadFinishedHandlerIntf(int intfhandle); - virtual int registerEventHandler(callback_t cb,void *userdata); + virtual int registerEventHandler(callback_t cb,void *userdata,bool post=false); virtual void unregisterEventHandler(int id); virtual int registerEventReadHandler(callback_t cb,void *userdata); virtual void unregisterEventReadHandler(int id); |