From 60989e52b3f3bc0a95d3e61bd8e59fa4d9b7ab83 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 26 Nov 2023 01:10:36 -0500 Subject: The 2 year constipation. (mpris plugin) Probably buggy as hell. --- qmidiplayer-desktop/qmpmainwindow.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'qmidiplayer-desktop/qmpmainwindow.hpp') diff --git a/qmidiplayer-desktop/qmpmainwindow.hpp b/qmidiplayer-desktop/qmpmainwindow.hpp index 99886ba..7a34cb6 100644 --- a/qmidiplayer-desktop/qmpmainwindow.hpp +++ b/qmidiplayer-desktop/qmpmainwindow.hpp @@ -223,6 +223,7 @@ public: return fin; } QString getFileName(); + QUrl getFilePath(); void switchTrack(QString s, bool interrupt = true); std::string getTitle(); std::wstring getWTitle(); @@ -244,6 +245,10 @@ public: void setupWidget(); void invokeCallback(std::string cat, void *callerdat); std::map &getFunc(); + void setPaused(bool paused); + void nextTrack(); + void prevTrack(); + void stop(); private slots: void on_pbPlayPause_clicked(); @@ -273,6 +278,7 @@ private: std::chrono::steady_clock::time_point st; double offset; CMidiPlayer *player; + QUrl filepath; qmpMidiOutFluid *internalfluid; qmpFileRendererFluid *fluidrenderer; qmpPluginManager *pmgr; -- cgit v1.2.3