mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
Catch up to the InfoSystem.
This commit is contained in:
@@ -38,15 +38,11 @@ static void setStatus(const QString &status)
|
|||||||
|
|
||||||
using namespace Tomahawk::InfoSystem;
|
using namespace Tomahawk::InfoSystem;
|
||||||
|
|
||||||
AdiumPlugin::AdiumPlugin( InfoSystemWorker* parent )
|
AdiumPlugin::AdiumPlugin()
|
||||||
: InfoPlugin(parent)
|
: InfoPlugin()
|
||||||
{
|
{
|
||||||
/** No supported types since the plugin pushes info, doesn't get any */
|
|
||||||
qDebug() << Q_FUNC_INFO;
|
qDebug() << Q_FUNC_INFO;
|
||||||
QSet< InfoType > supportedGetTypes, supportedPushTypes;
|
m_supportedPushTypes << InfoNowPlaying;
|
||||||
supportedPushTypes << InfoNowPlaying;
|
|
||||||
parent->registerInfoTypes( this, supportedGetTypes, supportedPushTypes );
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
AdiumPlugin::~AdiumPlugin()
|
AdiumPlugin::~AdiumPlugin()
|
||||||
|
@@ -33,7 +33,7 @@ class AdiumPlugin : public InfoPlugin
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
AdiumPlugin( InfoSystemWorker *parent );
|
AdiumPlugin();
|
||||||
virtual ~AdiumPlugin();
|
virtual ~AdiumPlugin();
|
||||||
|
|
||||||
protected slots:
|
protected slots:
|
||||||
@@ -47,7 +47,7 @@ public slots:
|
|||||||
void audioPaused();
|
void audioPaused();
|
||||||
void audioResumed( const QVariant &input );
|
void audioResumed( const QVariant &input );
|
||||||
|
|
||||||
void namChangedSlot() {} // unused
|
void namChangedSlot( QNetworkAccessManager *nam ) {} // unused
|
||||||
void notInCacheSlot( const Tomahawk::InfoSystem::InfoCriteriaHash criteria, const QString caller, const Tomahawk::InfoSystem::InfoType type, const QVariant input, const Tomahawk::InfoSystem::InfoCustomData customData ) {} // unused
|
void notInCacheSlot( const Tomahawk::InfoSystem::InfoCriteriaHash criteria, const QString caller, const Tomahawk::InfoSystem::InfoType type, const QVariant input, const Tomahawk::InfoSystem::InfoCustomData customData ) {} // unused
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user