diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-04-25 23:46:17 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-04-25 23:46:17 +0800 |
commit | 4ffde0ad55d041229793ca4457123bcbcbf8e0c0 (patch) | |
tree | 9457cee58f3a1f35ebe63de79c6811b1c16e36dc /qmidiplayer-desktop | |
parent | 800a0417e9ed175f220c472842a283202c77060b (diff) | |
download | QMidiPlayer-4ffde0ad55d041229793ca4457123bcbcbf8e0c0.tar.xz |
Plugin API now works correctly. Port old visualization code.
Diffstat (limited to 'qmidiplayer-desktop')
-rw-r--r-- | qmidiplayer-desktop/qmpplugin.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/qmpplugin.cpp b/qmidiplayer-desktop/qmpplugin.cpp index 559b575..aea01da 100644 --- a/qmidiplayer-desktop/qmpplugin.cpp +++ b/qmidiplayer-desktop/qmpplugin.cpp @@ -89,3 +89,11 @@ int qmpPluginAPI::registerEventReaderIntf(IMidiCallBack *cb,void *userdata) {return qmw->getPlayer()->setEventReaderCB(cb,userdata);} void qmpPluginAPI::unregisterEventReaderIntf(int intfhandle) {qmw->getPlayer()->unsetEventReaderCB(intfhandle);} +int qmpPluginAPI::registerVisualizationIntf(qmpVisualizationIntf*){return 0;} +void qmpPluginAPI::unregisterVisualizationIntf(int){} +void qmpPluginAPI::registerOptionInt(std::string,std::string,int){} +int qmpPluginAPI::getOptionInt(std::string){return 0;} +void qmpPluginAPI::registerOptionDouble(std::string,std::string,double){} +double qmpPluginAPI::getOptionDouble(std::string){return 0;} +void qmpPluginAPI::registerOptionString(std::string,std::string,std::string){} +std::string qmpPluginAPI::getOptionString(std::string){return "";} |