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 /visualization/renderer | |
parent | 382d85b15ce9cc4580a2522b39f5dd4ce43a24b0 (diff) | |
download | QMidiPlayer-60989e52b3f3bc0a95d3e61bd8e59fa4d9b7ab83.tar.xz |
The 2 year constipation. (mpris plugin)
Probably buggy as hell.
Diffstat (limited to 'visualization/renderer')
-rw-r--r-- | visualization/renderer/qmppluginapistub.cpp | 12 | ||||
-rw-r--r-- | visualization/renderer/qmppluginapistub.hpp | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/visualization/renderer/qmppluginapistub.cpp b/visualization/renderer/qmppluginapistub.cpp index 6c6424c..7804cc6 100644 --- a/visualization/renderer/qmppluginapistub.cpp +++ b/visualization/renderer/qmppluginapistub.cpp @@ -98,6 +98,16 @@ std::wstring qmpPluginAPIStub::getWTitle() core->settings()->getOptionEnumIntOptName("Midi/TextEncoding").c_str())-> toUnicode(core->player->getTitle()).toStdWString(); } + +std::string qmpPluginAPIStub::getFilePath() +{ + return ""; +} + +std::wstring qmpPluginAPIStub::getWFilePath() +{ + return L""; +} std::string qmpPluginAPIStub::getChannelPresetString(int ch) { return std::string(); @@ -110,6 +120,8 @@ void *qmpPluginAPIStub::getMainWindow() { return nullptr; } + +void qmpPluginAPIStub::playbackControl(PlaybackControlCommand cmd, void *data) {} void qmpPluginAPIStub::discardCurrentEvent() {} void qmpPluginAPIStub::commitEventChange(SEvent d) {} void qmpPluginAPIStub::callEventReaderCB(SEvent d) {} diff --git a/visualization/renderer/qmppluginapistub.hpp b/visualization/renderer/qmppluginapistub.hpp index ede08d3..675a306 100644 --- a/visualization/renderer/qmppluginapistub.hpp +++ b/visualization/renderer/qmppluginapistub.hpp @@ -29,9 +29,12 @@ public: bool getChannelMask(int ch); std::string getTitle(); std::wstring getWTitle(); + std::string getFilePath(); + std::wstring getWFilePath(); std::string getChannelPresetString(int ch); bool isDarkTheme(); void *getMainWindow(); + void playbackControl(PlaybackControlCommand cmd, void* data); void discardCurrentEvent(); void commitEventChange(SEvent d); |