aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-06-01 23:02:21 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-06-01 23:02:21 +0800
commitd97a417012d7e510b08c2e7d9a71997605c48e88 (patch)
treef13402745af921be0d791c5a10f9ad8fda78ef72 /qmidiplayer-desktop
parentc6f549a963ece1ed757793540d42d50111c19a80 (diff)
downloadQMidiPlayer-d97a417012d7e510b08c2e7d9a71997605c48e88.tar.xz
Initial event modifier and event filter stub.
Diffstat (limited to 'qmidiplayer-desktop')
-rw-r--r--qmidiplayer-desktop/qmpplugin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/qmpplugin.cpp b/qmidiplayer-desktop/qmpplugin.cpp
index 7d6f36e..99ac92f 100644
--- a/qmidiplayer-desktop/qmpplugin.cpp
+++ b/qmidiplayer-desktop/qmpplugin.cpp
@@ -151,6 +151,9 @@ std::string qmpPluginAPI::getChannelPresetString(int ch)
return std::string(ret);
}
+void qmpPluginAPI::discardLastEvent(){}
+void qmpPluginAPI::commitEventChange(SEventCallBackData){}
+
int qmpPluginAPI::registerEventHandlerIntf(IMidiCallBack *cb,void *userdata)
{return qmw->getPlayer()->setEventHandlerCB(cb,userdata);}
void qmpPluginAPI::unregisterEventHandlerIntf(int intfhandle)