diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-06-01 23:02:21 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-06-01 23:02:21 +0800 |
commit | d97a417012d7e510b08c2e7d9a71997605c48e88 (patch) | |
tree | f13402745af921be0d791c5a10f9ad8fda78ef72 /core/qmpmidiplay.cpp | |
parent | c6f549a963ece1ed757793540d42d50111c19a80 (diff) | |
download | QMidiPlayer-d97a417012d7e510b08c2e7d9a71997605c48e88.tar.xz |
Initial event modifier and event filter stub.
Diffstat (limited to 'core/qmpmidiplay.cpp')
-rw-r--r-- | core/qmpmidiplay.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/qmpmidiplay.cpp b/core/qmpmidiplay.cpp index 855ccb7..31784e3 100644 --- a/core/qmpmidiplay.cpp +++ b/core/qmpmidiplay.cpp @@ -574,3 +574,5 @@ int CMidiPlayer::setEventReaderCB(IMidiCallBack *cb,void *userdata) } void CMidiPlayer::unsetEventReaderCB(int id) {eventReaderCB[id]=NULL;eventReaderCBuserdata[id]=NULL;} +void CMidiPlayer::discardLastEvent(){midiFile?midiFile->discardLastEvent():(void)0;} +void CMidiPlayer::commitEventChange(SEventCallBackData d){midiFile?midiFile->commitEventChange(d):(void)0;} |