aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/qmpmainwindow.hpp
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 /qmidiplayer-desktop/qmpmainwindow.hpp
parentb059dd6fa25ad50f549cb1384042b07b6cfe06bf (diff)
downloadQMidiPlayer-ded6dd1c8f7cbe2991e90f69f95730b39eaa95cf.tar.xz
Add seeking with arrow buttons in visualization.
Diffstat (limited to 'qmidiplayer-desktop/qmpmainwindow.hpp')
-rw-r--r--qmidiplayer-desktop/qmpmainwindow.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/qmpmainwindow.hpp b/qmidiplayer-desktop/qmpmainwindow.hpp
index 9fc5d14..ef07798 100644
--- a/qmidiplayer-desktop/qmpmainwindow.hpp
+++ b/qmidiplayer-desktop/qmpmainwindow.hpp
@@ -64,6 +64,8 @@ class qmpMainWindow:public QMainWindow
QString getFileName();
std::string getTitle();
std::wstring getWTitle();
+ uint32_t getPlaybackPercentage();
+ void playerSeek(uint32_t percentage);
int pharseArgs();
int registerVisualizationIntf(qmpVisualizationIntf* intf);
void unregisterVisualizationIntf(int handle);