aboutsummaryrefslogtreecommitdiff
path: root/include/qmpcorepublic.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-05-02 23:51:25 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-05-02 23:51:25 +0800
commitbb82e7dfe2c6f3ee40a79f949db68cdd2c28456b (patch)
tree1b68efe784c44f7ce661c65adb7db2e80eb74380 /include/qmpcorepublic.hpp
parent85ccf22f3d2340e80ce2a109bbe610da1b92ca7d (diff)
downloadQMidiPlayer-bb82e7dfe2c6f3ee40a79f949db68cdd2c28456b.tar.xz
Finally finished the option proxying infrastructure...
Diffstat (limited to 'include/qmpcorepublic.hpp')
-rw-r--r--include/qmpcorepublic.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/qmpcorepublic.hpp b/include/qmpcorepublic.hpp
index e17bf84..b872041 100644
--- a/include/qmpcorepublic.hpp
+++ b/include/qmpcorepublic.hpp
@@ -73,19 +73,19 @@ class qmpPluginAPI
//if desc=="", the option won't be visible in the settings form.
//it will only show up in the configuration file.
- virtual void registerOptionInt(std::string desc,std::string key,int min,int max,int defaultval);
+ virtual void registerOptionInt(std::string tab,std::string desc,std::string key,int min,int max,int defaultval);
virtual int getOptionInt(std::string key);
virtual void setOptionInt(std::string key,int val);
- virtual void registerOptionUint(std::string desc,std::string key,unsigned min,unsigned max,unsigned defaultval);
+ virtual void registerOptionUint(std::string tab,std::string desc,std::string key,unsigned min,unsigned max,unsigned defaultval);
virtual unsigned getOptionUint(std::string key);
virtual void setOptionUint(std::string key,unsigned val);
- virtual void registerOptionBool(std::string desc,std::string key,bool defaultval);
+ virtual void registerOptionBool(std::string tab,std::string desc,std::string key,bool defaultval);
virtual bool getOptionBool(std::string key);
virtual void setOptionBool(std::string key,bool val);
- virtual void registerOptionDouble(std::string desc,std::string key,double min,double max,double defaultval);
+ virtual void registerOptionDouble(std::string tab,std::string desc,std::string key,double min,double max,double defaultval);
virtual double getOptionDouble(std::string key);
virtual void setOptionDouble(std::string key,double val);
- virtual void registerOptionString(std::string desc,std::string key,std::string defaultval);
+ virtual void registerOptionString(std::string tab,std::string desc,std::string key,std::string defaultval);
virtual std::string getOptionString(std::string key);
virtual void setOptionString(std::string key,std::string val);
};