diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-05-13 23:55:42 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-05-13 23:55:42 +0800 |
commit | a3a51ea01c0c571d0859f1cb5147dcd003bc8c71 (patch) | |
tree | eeb1a7faa41ed2536fd9f55b8c389fab297e8422 /include/qmpcorepublic.hpp | |
parent | a84ae874f0334172900d611fc098de8433f54e4c (diff) | |
download | QMidiPlayer-a3a51ea01c0c571d0859f1cb5147dcd003bc8c71.tar.xz |
Added enumerate integer options support.
Workaroud for different fonts locations in arch linux.
Diffstat (limited to 'include/qmpcorepublic.hpp')
-rw-r--r-- | include/qmpcorepublic.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/qmpcorepublic.hpp b/include/qmpcorepublic.hpp index 8db9329..88c54a7 100644 --- a/include/qmpcorepublic.hpp +++ b/include/qmpcorepublic.hpp @@ -90,6 +90,9 @@ class qmpPluginAPI 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); + virtual void registerOptionEnumInt(std::string tab,std::string desc,std::string key,std::vector<std::string> options,int defaultval); + virtual int getOptionEnumInt(std::string key); + virtual void setOptionEnumInt(std::string key,int val); }; #ifdef QMP_MAIN } |