From 8ef9703ee2a4b22395935030606fcf69e3acad86 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Wed, 18 May 2016 23:58:40 +0800 Subject: Finally finish the particle system integration. Add std::wstring version APIs to avoid wrong encoding. Update documentation. --- qmidiplayer-desktop/qmpplugin.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qmidiplayer-desktop/qmpplugin.cpp') diff --git a/qmidiplayer-desktop/qmpplugin.cpp b/qmidiplayer-desktop/qmpplugin.cpp index ef31472..22cb696 100644 --- a/qmidiplayer-desktop/qmpplugin.cpp +++ b/qmidiplayer-desktop/qmpplugin.cpp @@ -113,6 +113,8 @@ bool qmpPluginAPI::getChannelMask(int ch) {return qmw&&qmw->getPlayer()?qmw->getPlayer()->getChannelMask(ch):false;} std::string qmpPluginAPI::getTitle() {return qmw?qmw->getTitle():"";} +std::wstring qmpPluginAPI::getWTitle() +{return qmw?qmw->getWTitle():L"";} std::string qmpPluginAPI::getChannelPresetString(int ch) { int b,p;char nm[25],ret[33];ret[0]=0; -- cgit v1.2.3