aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/qmpmainwindow.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmidiplayer-desktop/qmpmainwindow.hpp')
-rw-r--r--qmidiplayer-desktop/qmpmainwindow.hpp6
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;