From fcd13f9b227d80e066775f75b09bc6ec9337bfc8 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Mon, 14 Dec 2020 01:14:20 +0800 Subject: Add unified interface for retrieving playback status. This should make several methods obsolete, however I'm too lazy to migrate them right now. So one more item on the todo list I guess. --- qmidiplayer-desktop/qmpmainwindow.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qmidiplayer-desktop/qmpmainwindow.hpp') diff --git a/qmidiplayer-desktop/qmpmainwindow.hpp b/qmidiplayer-desktop/qmpmainwindow.hpp index 47a29f6..eb36ba8 100644 --- a/qmidiplayer-desktop/qmpmainwindow.hpp +++ b/qmidiplayer-desktop/qmpmainwindow.hpp @@ -228,6 +228,7 @@ public: std::wstring getWTitle(); uint32_t getPlaybackPercentage(); void playerSeek(uint32_t percentage); + PlaybackStatus getPlaybackStatus(); int parseArgs(); void registerFunctionality(qmpFuncBaseIntf *i, std::string name, std::string desc, const char *icon, int iconlen, bool checkable); void unregisterFunctionality(std::string name); -- cgit v1.2.3