aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-05-24 19:52:08 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-05-24 19:52:08 +0800
commitded6dd1c8f7cbe2991e90f69f95730b39eaa95cf (patch)
tree46f55ade709960f4407b836432b76901d00aa693 /include
parentb059dd6fa25ad50f549cb1384042b07b6cfe06bf (diff)
downloadQMidiPlayer-ded6dd1c8f7cbe2991e90f69f95730b39eaa95cf.tar.xz
Add seeking with arrow buttons in visualization.
Diffstat (limited to 'include')
-rw-r--r--include/qmpcorepublic.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/qmpcorepublic.hpp b/include/qmpcorepublic.hpp
index 17a3910..13afe3e 100644
--- a/include/qmpcorepublic.hpp
+++ b/include/qmpcorepublic.hpp
@@ -67,6 +67,8 @@ class qmpPluginAPI
virtual uint32_t getCurrentPolyphone();
virtual uint32_t getMaxPolyphone();
virtual uint32_t getCurrentTimeStamp();
+ virtual uint32_t getCurrentPlaybackPercentage();
+ virtual void playerSeek(uint32_t percentage);
virtual double getPitchBend(int ch);
virtual bool getChannelMask(int ch);
virtual std::string getTitle();