aboutsummaryrefslogtreecommitdiff
path: root/include/qmpcorepublic.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2017-02-12 23:33:41 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2017-02-12 23:33:41 +0800
commit3312e495cf54a8bd6451552216f5aeea1a06d486 (patch)
tree2de25e8b53ba2747c613451fa16c3203578fbd93 /include/qmpcorepublic.hpp
parentd779d32c8c32e0e0c22662046498620b11fa46de (diff)
downloadQMidiPlayer-3312e495cf54a8bd6451552216f5aeea1a06d486.tar.xz
UI revolution cont'd. Powered by @BLumia.
Expose new APIs to plugin developer. Use svg icons.
Diffstat (limited to 'include/qmpcorepublic.hpp')
-rw-r--r--include/qmpcorepublic.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/qmpcorepublic.hpp b/include/qmpcorepublic.hpp
index 67259e0..1d0a7a4 100644
--- a/include/qmpcorepublic.hpp
+++ b/include/qmpcorepublic.hpp
@@ -132,7 +132,11 @@ class qmpPluginAPI
virtual void commitEventChange(SEventCallBackData d);
//This function should be called from a file reader when it has read a new event
virtual void callEventReaderCB(SEventCallBackData d);
+ virtual void setFuncState(std::string name,bool state);
+ virtual void setFuncEnabled(std::string name,bool enable);
+ virtual void registerFunctionality(qmpFuncBaseIntf* i,std::string name,std::string desc,const char* icon,int iconlen,bool checkable);
+ virtual void unregisterFunctionality(std::string name);
virtual void registerVisualizationIntf(qmpVisualizationIntf* intf,std::string name,std::string desc,const char* icon,int iconlen);
virtual void unregisterVisualizationIntf(std::string name);
virtual int registerEventReaderIntf(IMidiCallBack* cb,void* userdata);