aboutsummaryrefslogtreecommitdiff
path: root/visualization/renderer/qmppluginapistub.cpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2023-11-26 01:10:36 -0500
committerGravatar Chris Xiong <chirs241097@gmail.com> 2023-11-26 01:10:36 -0500
commit60989e52b3f3bc0a95d3e61bd8e59fa4d9b7ab83 (patch)
treeaf08e5b6f7019c6f70bf3800a419ec78db140988 /visualization/renderer/qmppluginapistub.cpp
parent382d85b15ce9cc4580a2522b39f5dd4ce43a24b0 (diff)
downloadQMidiPlayer-60989e52b3f3bc0a95d3e61bd8e59fa4d9b7ab83.tar.xz
The 2 year constipation. (mpris plugin)
Probably buggy as hell.
Diffstat (limited to 'visualization/renderer/qmppluginapistub.cpp')
-rw-r--r--visualization/renderer/qmppluginapistub.cpp12
1 files changed, 12 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) {}