1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-07 06:36:55 +02:00

Add friendlyName to XMPP info plugin

This commit is contained in:
Dominik Schmidt
2016-02-12 22:12:54 +01:00
parent 9737b7a8bc
commit 7271a95942
2 changed files with 9 additions and 0 deletions

View File

@@ -69,6 +69,13 @@ Tomahawk::InfoSystem::XmppInfoPlugin::init()
} }
const QString
Tomahawk::InfoSystem::XmppInfoPlugin::friendlyName() const
{
return "xmpp";
}
void void
Tomahawk::InfoSystem::XmppInfoPlugin::pushInfo( Tomahawk::InfoSystem::InfoPushData pushData ) Tomahawk::InfoSystem::XmppInfoPlugin::pushInfo( Tomahawk::InfoSystem::InfoPushData pushData )
{ {

View File

@@ -38,6 +38,8 @@ namespace Tomahawk {
XmppInfoPlugin(XmppSipPlugin* parent); XmppInfoPlugin(XmppSipPlugin* parent);
virtual ~XmppInfoPlugin(); virtual ~XmppInfoPlugin();
const QString friendlyName() const override;
signals: signals:
void publishTune( QUrl url, Tomahawk::InfoSystem::InfoStringHash trackInfo ); void publishTune( QUrl url, Tomahawk::InfoSystem::InfoStringHash trackInfo );