aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-04-28 23:40:42 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-04-28 23:40:42 +0800
commit13fca5100f1e28a538e7900d011714d94f6b1b10 (patch)
tree2034d837473c14f600987134d98f51f0a5ab3c5d /include
parent8eac5088101595422753030b1b259411d63f83a8 (diff)
downloadQMidiPlayer-13fca5100f1e28a538e7900d011714d94f6b1b10.tar.xz
Now it is possible to disable plugins in the plugin list.
Diffstat (limited to 'include')
-rw-r--r--include/qmpcorepublic.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/qmpcorepublic.hpp b/include/qmpcorepublic.hpp
index a8e3fa8..03e99a0 100644
--- a/include/qmpcorepublic.hpp
+++ b/include/qmpcorepublic.hpp
@@ -63,15 +63,17 @@ class qmpPluginAPI
virtual double getPitchBend(int ch);
virtual bool getChannelMask(int ch);
virtual std::string getTitle();
+
virtual int registerVisualizationIntf(qmpVisualizationIntf* intf);
virtual void unregisterVisualizationIntf(int intfhandle);
virtual int registerEventReaderIntf(IMidiCallBack* cb,void* userdata);
virtual void unregisterEventReaderIntf(int intfhandle);
virtual int registerEventHandlerIntf(IMidiCallBack* cb,void* userdata);
virtual void unregisterEventHandlerIntf(int intfhandle);
- virtual void registerOptionInt(std::string desc,std::string key,int defaultval);
+
+ virtual void registerOptionInt(std::string desc,std::string key,int min,int max,int defaultval);
virtual int getOptionInt(std::string key);
- virtual void registerOptionDouble(std::string desc,std::string key,double defaultval);
+ virtual void registerOptionDouble(std::string desc,std::string key,double min,double max,double defaultval);
virtual double getOptionDouble(std::string key);
virtual void registerOptionString(std::string desc,std::string key,std::string defaultval);
virtual std::string getOptionString(std::string key);