diff options
author | Chris Xiong <chirs241097@gmail.com> | 2023-11-26 01:10:36 -0500 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2023-11-26 01:10:36 -0500 |
commit | 60989e52b3f3bc0a95d3e61bd8e59fa4d9b7ab83 (patch) | |
tree | af08e5b6f7019c6f70bf3800a419ec78db140988 /qmidiplayer-desktop/qmpmainwindow.hpp | |
parent | 382d85b15ce9cc4580a2522b39f5dd4ce43a24b0 (diff) | |
download | QMidiPlayer-60989e52b3f3bc0a95d3e61bd8e59fa4d9b7ab83.tar.xz |
The 2 year constipation. (mpris plugin)
Probably buggy as hell.
Diffstat (limited to 'qmidiplayer-desktop/qmpmainwindow.hpp')
-rw-r--r-- | qmidiplayer-desktop/qmpmainwindow.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
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<std::string, qmpFuncPrivate> &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; |